mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
bugfix: return nil when launch service failed
This commit is contained in:
@@ -306,7 +306,7 @@ function skynet.uniqueservice(global, ...)
|
||||
else
|
||||
handle = skynet.call(".service", "lua", global, ...)
|
||||
end
|
||||
if handle then
|
||||
if handle ~= false then
|
||||
return handle
|
||||
end
|
||||
skynet.sleep(t)
|
||||
|
||||
Reference in New Issue
Block a user