mirror of https://github.com/folke/lazy.nvim.git
fix(async): remove debug assert
This commit is contained in:
parent
00c23e72a3
commit
3513227a9a
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue