MDL-24962 backup - now destroying circular refs manually to help PHP 5.2

This commit is contained in:
Eloy Lafuente 2010-11-01 22:09:44 +00:00
parent 1cf2faab39
commit d0ad98607d
3 changed files with 34 additions and 0 deletions

View file

@ -96,6 +96,9 @@ abstract class backup_structure_step extends backup_step {
// Close everything
$xw->stop();
// Destroy the structure. It helps PHP 5.2 memory a lot!
$structure->destroy();
}
// Protected API starts here