remove close in lua-socket, because socket will be closed in connection service

This commit is contained in:
云风
2012-12-29 10:32:38 +08:00
parent 193a180c73
commit 14d84e0055
2 changed files with 0 additions and 9 deletions

View File

@@ -70,7 +70,6 @@ end
function socket.close()
if fd then
c.close(fd)
skynet.send(".connection","text", "DEL", fd)
fd = nil
end