mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
fix typo
This commit is contained in:
@@ -146,7 +146,7 @@ function socket.start(id, func)
|
||||
return connect(id, func)
|
||||
end
|
||||
|
||||
function socket.close(fd)
|
||||
function socket.close(id)
|
||||
local s = socket_pool[id]
|
||||
if s == nil then
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user