From 4591de7018414267311b421ef42ef1b4a2f6aa89 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 10 Mar 2011 15:21:21 -0500 Subject: [PATCH] Prepare for multiple concurrent compose windows --- program/include/rcmail.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 980efe4..d9bb30b 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1078,8 +1078,10 @@ $this->imap->close(); // before closing the database connection, write session data - if ($_SERVER['REMOTE_ADDR']) + if ($_SERVER['REMOTE_ADDR']) { + $this->session->cleanup(); session_write_close(); + } // write performance stats to logs/console if ($this->config->get('devel_mode')) { -- Gitblit v1.9.1