# HG changeset patch # User Matthew Wild # Date 1249476734 -3600 # Node ID 16e9ba7c4a035c8e0e2e89fe79c98b79e658f5b6 # Parent 46120978150c4561c6562dcd1f9fddfa43e3035c# Parent 33d0874667670fac5c3f5ef3bef3612e0fc31ffd Merge with 0.5 diff -r 46120978150c -r 16e9ba7c4a03 net/xmppcomponent_listener.lua --- a/net/xmppcomponent_listener.lua Wed Aug 05 03:08:54 2009 +0100 +++ b/net/xmppcomponent_listener.lua Wed Aug 05 13:52:14 2009 +0100 @@ -167,6 +167,7 @@ hosts[session.host].connected = nil; end sessions[conn] = nil; + for k in pairs(session) do session[k] = nil; end session = nil; collectgarbage("collect"); end