diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/async.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/async.lua b/util/async.lua index 46a64ecb..0d19af6e 100644 --- a/util/async.lua +++ b/util/async.lua @@ -126,6 +126,7 @@ local function runner_create_thread(func, self) func(coroutine.yield("ready", self)); end end); + debug.sethook(thread, debug.gethook()); assert(coroutine.resume(thread, self)); -- Start it up, it will return instantly to wait for the first input return thread; end |