Revert "MDL-45605 Phpunit: Do not call gc_collect_cycles as part of reset."

This reverts commit c0f29f18d7.
This commit is contained in:
Dan Poltawski
2014-05-21 18:20:26 +08:00
parent 5f901117a8
commit acbaec594e
+3
View File
@@ -106,6 +106,9 @@ class phpunit_util extends testing_util {
// Stop any message redirection.
phpunit_util::stop_phpmailer_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();