Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion extension/script/backend/worker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -945,10 +945,13 @@ end

function event.thread(co, type)
if not debuggeeReady() then return end
-- L是触发事件的协程,即co的调用方(父协程)
local L = hookmgr.gethost()
if co then
if type == 0 then
coroutineTree[L] = co
coroutineTree[co] = L
hookmgr.updatehookmask(co)
return
elseif type == 1 then
coroutineTree[co] = nil
end
Expand Down
Loading