Diff

init.lua @ 505:289c866d7fb0

verse: Fix to work with server_epoll
author Kim Alvefur <zash@zash.se>
date Sat, 24 Jun 2023 09:48:23 +0200
parent 492:22844ac3be4e
line wrap: on
line diff
--- a/init.lua	Fri Jun 23 22:21:05 2023 +0200
+++ b/init.lua	Sat Jun 24 09:48:23 2023 +0200
@@ -152,10 +152,8 @@
 		verse.log("error", "Attempt to close disconnected connection - possibly a bug");
 		return;
 	end
-	local on_disconnect = self.conn.disconnect();
 	self:event("shutdown");
 	self.conn:close();
-	on_disconnect(self.conn, reason);
 end
 
 -- Logging functions