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