mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
5b188629c7
Every backup and restore controller always need to call to their ->destroy() method in charge of finalizing loggers, closing file handlers and destroy some circular references. This is specially important within unit tests, because open resources cannot be reset between tests, causing problems, specially within Windows that locks all those files.