Skip to content
Browse files

moodle_request_shutdown(): silence errors when apache_child_terminate…

…() is disallowed - (MDL-9350)
  • Loading branch information...
1 parent 8f66056 commit 08c58ff103be61241d7614588f08f91107f5ff39 martinlanghoff committed Apr 16, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
2 lib/moodlelib.php
@@ -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.
Something went wrong with that request. Please try again.