mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
add _CO for debug coroutine
This commit is contained in:
@@ -194,6 +194,7 @@ local function hook_dispatch(dispatcher, resp, fd, channel)
|
||||
|
||||
local function watch_cmd(cmd)
|
||||
local co = next(ctx_active)
|
||||
watch_env._CO = co
|
||||
if dbgcmd[cmd] then
|
||||
dbgcmd[cmd](co)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user