Update service_provider.lua

boot成功后的launch消息异常
This commit is contained in:
hong
2019-04-27 16:55:19 +08:00
committed by 云风
parent 95cb848772
commit 04e2a36c4a

View File

@@ -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