mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
return nil to caller of newservice, while calling skynet.exit in start function
This commit is contained in:
@@ -58,7 +58,7 @@ function command.REMOVE(_, handle)
|
||||
local response = instance[handle]
|
||||
if response then
|
||||
-- instance is dead
|
||||
response(false)
|
||||
response(true) -- return nil to caller of newservice
|
||||
instance[handle] = nil
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user