-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.10, 2.7.7, 2.8.5
-
MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_31_STABLE
-
gc_collect_cycles() was introduced to pass unit test by MDL-47675 (c42d18183a633625745d089523971de8e6aaadaa), which is hiding actual problems of files not being closed properly in some places.
As part of this issue, please review and try remove unneeded gc_collect_cycles() and fix files which are not closed properly.