Software /
code /
prosody
Changeset
4019:80aa47c009f0
s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 Dec 2010 04:48:18 +0000 |
parents | 4018:5061c8d41d89 |
children | 4020:472691075967 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Dec 24 04:47:18 2010 +0000 +++ b/core/s2smanager.lua Fri Dec 24 04:48:18 2010 +0000 @@ -594,7 +594,8 @@ 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;