mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
throw error when skynet.exit
This commit is contained in:
@@ -27,7 +27,7 @@ skynet.start(function()
|
||||
local channel = mc.new()
|
||||
print("New channel", channel)
|
||||
for i=1,10 do
|
||||
local sub = skynet.newservice("testmulticast", "sub")
|
||||
local sub = skynet.newservice(SERVICE_NAME, "sub")
|
||||
skynet.call(sub, "lua", "init", channel.channel)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user