Changeset

505:289c866d7fb0

verse: Fix to work with server_epoll
author Kim Alvefur <zash@zash.se>
date Sat, 24 Jun 2023 09:48:23 +0200
parents 504:8ed3c95bf880
children 506:3610196c5e83
files init.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
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