Software /
code /
prosody
Changeset
3951:b8d930c21a3a
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 | 3950:27947d66b814 |
children | 3952:f5d2400ca127 |
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 @@ -631,7 +631,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;