# HG changeset patch # User Matthew Wild # Date 1323230068 0 # Node ID 916681a9a7bea82d39a2f6c004684ce06e63a310 # Parent aa79b3767f98542d108097d77d868d60a916f0ef mod_bosh: Remove a session from inactive_sessions before destroying it diff -r aa79b3767f98 -r 916681a9a7be plugins/mod_bosh.lua --- 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