Merge 26f97fa043
into f6fef74651
commit
87b3c7d6c2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue