diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-12-24 04:48:18 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-12-24 04:48:18 +0000 |
commit | 93e5343cdf8e9a10317c87a6ef768d475a7fc9de (patch) | |
tree | 60a9a8ca6f88b03ce26b166c721fab4601bae858 /core/s2smanager.lua | |
parent | d01658b1af0a9dfdd8d2999b99c49076b2b7330c (diff) | |
download | prosody-93e5343cdf8e9a10317c87a6ef768d475a7fc9de.tar.gz prosody-93e5343cdf8e9a10317c87a6ef768d475a7fc9de.zip |
s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 7c11cb9e..f2cee43e 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -631,7 +631,8 @@ function destroy_session(session, reason) end end - retire_session(session); -- Clean session until it is GC'd + retire_session(session, reason); -- Clean session until it is GC'd + return true; end return _M; |