bugfix: skynet.exit redirect error, and add datacenter.wait

This commit is contained in:
Cloud Wu
2014-07-13 11:55:25 +08:00
parent 7b5e62b896
commit 6813fd9ef7
5 changed files with 105 additions and 9 deletions

View File

@@ -17,9 +17,7 @@ else
local test = skynet.newservice(SERVICE_NAME, "test") -- launch self in test mode
print(pcall(function()
skynet.send(test,"lua", "hello world")
skynet.send(test,"lua", "never get there")
skynet.call(test,"lua", "fake call")
skynet.call(test,"lua", "dead call")
end))
skynet.exit()