Skip to content

Commit

Permalink
fix(async): remove debug assert
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 29, 2024
1 parent 00c23e7 commit 3513227
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/lazy/async.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ end
function M.running()
local co = coroutine.running()
if co then
local async = M._threads[co]
assert(async, "In coroutine without async context")
return async
return M._threads[co]
end
end

Expand Down

0 comments on commit 3513227

Please sign in to comment.