Sun, 14 Mar 2010 02:58:11 +0000
sessionmanager: Add close method to resting sessions
core/sessionmanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/sessionmanager.lua Sun Mar 14 02:57:22 2010 +0000 +++ b/core/sessionmanager.lua Sun Mar 14 02:58:11 2010 +0000 @@ -68,6 +68,9 @@ local resting_session = { -- Resting, not dead destroyed = true; + close = function (session) + session.log("debug", "Attempt to close already-closed session"); + end; }; resting_session.__index = resting_session; function retire_session(session)