$output->output();
// Do any deferred jobs
$this->doUpdates( $deferredUpdates );
+ // Close the session so that jobs don't access the current session
+ session_write_close();
$this->doJobs();
wfProfileOut( __METHOD__ );
}
* Ends this task peacefully
*/
function restInPeace() {
+ MessageCache::logMessages();
wfLogProfilingData();
// Commit and close up!
$factory = wfGetLBFactory();