diff --git a/lib/phpunit/classes/util.php b/lib/phpunit/classes/util.php index c12d18123ec..0eab4284f3f 100644 --- a/lib/phpunit/classes/util.php +++ b/lib/phpunit/classes/util.php @@ -112,9 +112,6 @@ class phpunit_util extends testing_util { // Stop any message redirection. phpunit_util::stop_event_redirection(); - // Release memory and indirectly call destroy() methods to release resource handles, etc. - gc_collect_cycles(); - // Show any unhandled debugging messages, the runbare() could already reset it. self::display_debugging_messages(); self::reset_debugging();