Close the session for preview generation

Without closing the session every preview image generation is locking the session which makes the webinterface unresponsive.
remotes/origin/fix-10825
Lukas Reschke 11 years ago
parent 53f6d74938
commit ba2472575f
  1. 1
      core/ajax/preview.php

@ -6,6 +6,7 @@
* See the COPYING-README file.
*/
\OC_Util::checkLoggedIn();
\OC::$server->getSession()->close();
$file = array_key_exists('file', $_GET) ? (string)$_GET['file'] : '';
$maxX = array_key_exists('x', $_GET) ? (int)$_GET['x'] : '36';

Loading…
Cancel
Save