throw error when skynet.exit

This commit is contained in:
Cloud Wu
2014-07-03 17:40:07 +08:00
parent 711c04e6a9
commit f874fdc618
5 changed files with 17 additions and 3 deletions

View File

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