mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
kill report to launcher
This commit is contained in:
@@ -144,6 +144,7 @@ end
|
|||||||
|
|
||||||
function skynet.kill(name)
|
function skynet.kill(name)
|
||||||
if type(name) == "number" then
|
if type(name) == "number" then
|
||||||
|
skynet.send(".launcher","lua","REMOVE",name)
|
||||||
name = skynet.address(name)
|
name = skynet.address(name)
|
||||||
end
|
end
|
||||||
c.command("KILL",name)
|
c.command("KILL",name)
|
||||||
|
|||||||
Reference in New Issue
Block a user