mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
Update service_provider.lua
boot成功后的launch消息异常
This commit is contained in:
@@ -41,6 +41,9 @@ end
|
||||
|
||||
function provider.launch(name, code, ...)
|
||||
local s = svr[name]
|
||||
if s.address then
|
||||
return skynet.ret(skynet.pack(s.address))
|
||||
end
|
||||
if s.booting then
|
||||
table.insert(s.queue, skynet.response())
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user