mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
fix #962
This commit is contained in:
@@ -235,7 +235,7 @@ function command.socket(source, subcmd, fd, msg)
|
||||
local agent = cluster_agent[fd]
|
||||
if type(agent) == "boolean" then
|
||||
cluster_agent[fd] = true
|
||||
else
|
||||
elseif agent then
|
||||
skynet.send(agent, "lua", "exit")
|
||||
cluster_agent[fd] = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user