diff options
-rw-r--r-- | plugins/mod_smacks.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua index f471388f..6eaadf48 100644 --- a/plugins/mod_smacks.lua +++ b/plugins/mod_smacks.lua @@ -514,6 +514,9 @@ module:hook("pre-resource-unbind", function (event) session.log("debug", "Session resumed before hibernation timeout, all is well") end end); + if session.conn then + session.conn:close(); + end return true; -- Postpone destruction for now end end |