aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 840e799a..2b50184d 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -460,7 +460,7 @@ function interface:onreadable()
self:debug("Read error, closing (%s)", err);
end
self:on("disconnect", err);
- self:destroy()
+ self:close();
return;
end
end