fix(async): remove debug assert

This commit is contained in:
Folke Lemaitre 2024-06-29 10:36:35 +02:00
parent 00c23e72a3
commit 3513227a9a
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 3 deletions

View File

@ -153,9 +153,7 @@ end
function M.running() function M.running()
local co = coroutine.running() local co = coroutine.running()
if co then if co then
local async = M._threads[co] return M._threads[co]
assert(async, "In coroutine without async context")
return async
end end
end end