Permalink
Browse files

moodle_request_shutdown(): silence errors when apache_child_terminate…

…() is disallowed - (MDL-9350)
  • Loading branch information...
martinlanghoff
martinlanghoff committed Apr 16, 2007
1 parent 8f66056 commit 08c58ff103be61241d7614588f08f91107f5ff39
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -6521,7 +6521,7 @@ function moodle_request_shutdown() {
}
if (memory_get_usage() > (int)$CFG->apachemaxmem) {
trigger_error('Mem usage over $CFG->apachemaxmem: marking child for reaping.');
- apache_child_terminate();
+ @apache_child_terminate();
}
}
}

0 comments on commit 08c58ff

Please sign in to comment.