moodle_request_shutdown(): silence errors when apache_child_terminate() is disallowed - (MDL-9350)
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user