init.lua

changeset 465
6707e3a47f71
parent 464
dc05a8d6dbfb
child 490
6b2f31da9610
--- a/init.lua	Thu Mar 16 16:47:59 2023 +0000
+++ b/init.lua	Fri Mar 17 09:23:15 2023 +0000
@@ -152,6 +152,7 @@
 		return;
 	end
 	local on_disconnect = self.conn.disconnect();
+	self:event("shutdown");
 	self.conn:close();
 	on_disconnect(self.conn, reason);
 end

mercurial