mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
Co-authored-by: jietao.cjt <jietao.cjt@alibaba-inc.com>
This commit is contained in:
@@ -545,6 +545,7 @@ function skynet.exit()
|
|||||||
for address in pairs(tmp) do
|
for address in pairs(tmp) do
|
||||||
c.send(address, skynet.PTYPE_ERROR, 0, "")
|
c.send(address, skynet.PTYPE_ERROR, 0, "")
|
||||||
end
|
end
|
||||||
|
c.callback(function() end)
|
||||||
c.command("EXIT")
|
c.command("EXIT")
|
||||||
-- quit service
|
-- quit service
|
||||||
coroutine_yield "QUIT"
|
coroutine_yield "QUIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user