Changeset

1636:16e9ba7c4a03

Merge with 0.5
author Matthew Wild <mwild1@gmail.com>
date Wed, 05 Aug 2009 13:52:14 +0100
parents 1634:46120978150c (current diff) 1635:33d087466767 (diff)
children 1637:c1292624f991
files
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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