Revert "MDL-45605 Phpunit: Do not call gc_collect_cycles as part of reset."
This reverts commit c0f29f18d7.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user