From d47a1f622b276c68fd7bff32da24315d8788317c Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 24 Dec 2010 04:48:18 +0000 Subject: s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction --- core/s2smanager.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/s2smanager.lua') diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 212a2fe1..dac95314 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -594,7 +594,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; -- cgit v1.2.3