Software /
code /
prosody
Changeset
2163:8d33f94dc3a1
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 24 Nov 2009 20:34:22 +0000 |
parents | 2161:6f91d5348847 |
children | 2164:339a96689dcb |
files | core/sessionmanager.lua net/xmppclient_listener.lua net/xmppcomponent_listener.lua net/xmppserver_listener.lua |
diffstat | 4 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/core/sessionmanager.lua Mon Nov 23 20:22:37 2009 +0000 +++ b/core/sessionmanager.lua Tue Nov 24 20:34:22 2009 +0000 @@ -10,7 +10,6 @@ local tonumber, tostring = tonumber, tostring; local ipairs, pairs, print, next= ipairs, pairs, print, next; -local collectgarbage = collectgarbage; local format = import("string", "format"); local hosts = hosts;
--- a/net/xmppclient_listener.lua Mon Nov 23 20:22:37 2009 +0000 +++ b/net/xmppclient_listener.lua Tue Nov 24 20:34:22 2009 +0000 @@ -140,7 +140,6 @@ sm_destroy_session(session, err); sessions[conn] = nil; session = nil; - collectgarbage("collect"); end end