mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
call skynet.trace() in example
This commit is contained in:
@@ -265,6 +265,8 @@ function suspend(co, result, command, param, param2)
|
||||
return suspend(co, coroutine_resume(co, response))
|
||||
elseif command == "EXIT" then
|
||||
-- coroutine exit
|
||||
local tag = session_coroutine_tracetag[co]
|
||||
if tag then c.trace(tag, "end") end
|
||||
local address = session_coroutine_address[co]
|
||||
if address then
|
||||
release_watching(address)
|
||||
|
||||
Reference in New Issue
Block a user