Software /
code /
prosody
Changeset
2816:59dfb99831ae
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 | 2815:84123bcfa0ba |
children | 2817:8a411db08af4 |
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 02:58:42 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 02:58:42 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