author | Matthew Wild <mwild1@gmail.com> |
Mon, 25 Jun 2018 13:53:17 +0100 | |
changeset 8930 | ed0891383e78 |
parent 8929 | 89f6b2a2bec3 |
child 8931 | d41f8ce67c8e |
util/async.lua | file | annotate | diff | comparison | revisions |
--- a/util/async.lua Sat Jun 23 18:59:21 2018 +0200 +++ b/util/async.lua Mon Jun 25 13:53:17 2018 +0100 @@ -126,6 +126,7 @@ 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