Changeset

4437:916681a9a7be

mod_bosh: Remove a session from inactive_sessions before destroying it
author Matthew Wild <mwild1@gmail.com>
date Wed, 07 Dec 2011 03:54:28 +0000
parents 4436:aa79b3767f98
children 4438:7f51186ed28b
files plugins/mod_bosh.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Wed Dec 07 02:58:22 2011 +0000
+++ b/plugins/mod_bosh.lua	Wed Dec 07 03:54:28 2011 +0000
@@ -214,6 +214,7 @@
 		held_request:destroy();
 	end
 	sessions[session.sid]  = nil;
+	inactive_sessions[session] = nil;
 	sm_destroy_session(session);
 end