重新设计debug.lua接口

This commit is contained in:
dpull
2016-06-12 16:29:47 +08:00
parent d9b0347741
commit bf5b74b6ca
2 changed files with 97 additions and 88 deletions

View File

@@ -663,7 +663,7 @@ end
-- Inject internal debug framework
local debug = require "skynet.debug"
debug(skynet, {
debug.init(skynet, {
dispatch = skynet.dispatch_message,
suspend = suspend,
})