diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-24 20:34:22 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-24 20:34:22 +0000 |
commit | 95b463a3ee6dc6d93e1c7b39d043357a4c72f6b1 (patch) | |
tree | 42001e2081df4019c43e46602121d3b4d941ac23 /net | |
parent | 2e17a1667d8de25e281cf2d4a11b50234673ca79 (diff) | |
download | prosody-95b463a3ee6dc6d93e1c7b39d043357a4c72f6b1.tar.gz prosody-95b463a3ee6dc6d93e1c7b39d043357a4c72f6b1.zip |
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls
Diffstat (limited to 'net')
-rw-r--r-- | net/xmppclient_listener.lua | 1 | ||||
-rw-r--r-- | net/xmppcomponent_listener.lua | 1 | ||||
-rw-r--r-- | net/xmppserver_listener.lua | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua index 01d73a36..f455e7be 100644 --- a/net/xmppclient_listener.lua +++ b/net/xmppclient_listener.lua @@ -140,7 +140,6 @@ function xmppclient.disconnect(conn, err) sm_destroy_session(session, err); sessions[conn] = nil; session = nil; - collectgarbage("collect"); end end diff --git a/net/xmppcomponent_listener.lua b/net/xmppcomponent_listener.lua index c16f41a0..2045d28f 100644 --- a/net/xmppcomponent_listener.lua +++ b/net/xmppcomponent_listener.lua @@ -169,7 +169,6 @@ function component_listener.disconnect(conn, err) sessions[conn] = nil; for k in pairs(session) do session[k] = nil; end session = nil; - collectgarbage("collect"); end end diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua index c7e02ec5..2ab51992 100644 --- a/net/xmppserver_listener.lua +++ b/net/xmppserver_listener.lua @@ -162,7 +162,6 @@ function xmppserver.disconnect(conn, err) s2s_destroy_session(session); sessions[conn] = nil; session = nil; - collectgarbage("collect"); end end |