plugins/mod_c2s.lua
changeset 12315 bc30e1b9ad89
parent 12313 926a6c5d13e7
child 12484 7e9ebdc75ce4
--- a/plugins/mod_c2s.lua	Tue Feb 22 14:17:10 2022 +0100
+++ b/plugins/mod_c2s.lua	Tue Feb 22 14:17:27 2022 +0100
@@ -433,7 +433,7 @@
 end, -80);
 
 module:hook("server-stopping", function(event)
-	local wait, done = async.waiter();
+	local wait, done = async.waiter(1, true);
 	module:hook("c2s-closed", function ()
 		if next(sessions) == nil then done(); end
 	end)