pull/104/merge
Kateryna Degtyariova 2021-08-30 02:37:32 +00:00 committed by GitHub
commit 87b3c7d6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1927,6 +1927,11 @@ Class H5PExport {
}
}
// Close session before finishing zip file, which might take
// substantial time to allow other pages to use session without
// waiting on the file operation to finish.
\core\session\manager::write_close();
// Close zip and remove tmp dir
$zip->close();
H5PCore::deleteFileTree($tmpPath);