Skip to content

Commit 3513227

Browse files
committed
fix(async): remove debug assert
1 parent 00c23e7 commit 3513227

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lua/lazy/async.lua

+1-3
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,7 @@ end
153153
function M.running()
154154
local co = coroutine.running()
155155
if co then
156-
local async = M._threads[co]
157-
assert(async, "In coroutine without async context")
158-
return async
156+
return M._threads[co]
159157
end
160158
end
161159

0 commit comments

Comments
 (0)