aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-12-07 03:54:28 +0000
committerMatthew Wild <mwild1@gmail.com>2011-12-07 03:54:28 +0000
commitd968e72bfbc364561846d88f07a6ad191cabf332 (patch)
treefd0f0981ae07a0ec53206b77c8a999404dd1878e /plugins/mod_bosh.lua
parent6f147fde17da5bd5037247fac6b653cb439a4774 (diff)
downloadprosody-d968e72bfbc364561846d88f07a6ad191cabf332.tar.gz
prosody-d968e72bfbc364561846d88f07a6ad191cabf332.zip
mod_bosh: Remove a session from inactive_sessions before destroying it
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index ffba5c11..3541f614 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -214,6 +214,7 @@ local function bosh_close_stream(session, reason)
held_request:destroy();
end
sessions[session.sid] = nil;
+ inactive_sessions[session] = nil;
sm_destroy_session(session);
end