From 08c58ff103be61241d7614588f08f91107f5ff39 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Mon, 16 Apr 2007 00:24:27 +0000 Subject: [PATCH] moodle_request_shutdown(): silence errors when apache_child_terminate() is disallowed - (MDL-9350) --- lib/moodlelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 645ed38511..1c9696e1d4 100644 --- a/lib/moodlelib.php +++ b/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(); } } } -- 2.39.5