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

@@ -14,7 +14,7 @@ end)
else
skynet.start(function()
local test = skynet.newservice("testdeadcall", "test") -- launch self in test mode
local test = skynet.newservice(SERVICE_NAME, "test") -- launch self in test mode
print(pcall(function()
skynet.send(test,"lua", "hello world")