mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
remove close in lua-socket, because socket will be closed in connection service
This commit is contained in:
@@ -70,7 +70,6 @@ end
|
||||
|
||||
function socket.close()
|
||||
if fd then
|
||||
c.close(fd)
|
||||
skynet.send(".connection","text", "DEL", fd)
|
||||
fd = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user