aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index ab06e6c0..750007fb 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -100,8 +100,7 @@ local function update_session(to_session, from_session)
local replaced_conn = to_session.conn;
if replaced_conn then
- to_session.log("debug", "closing a replaced connection for this session");
- replaced_conn:close();
+ to_session.conn = nil;
end
to_session.since = from_session.since;