mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #18554 from kevinhwang91/perf-timerstart
perf(_editor): no need to stop inside vim.defer_fn
This commit is contained in:
commit
8a39032fdd
@ -406,7 +406,6 @@ function vim.defer_fn(fn, timeout)
|
|||||||
timeout,
|
timeout,
|
||||||
0,
|
0,
|
||||||
vim.schedule_wrap(function()
|
vim.schedule_wrap(function()
|
||||||
timer:stop()
|
|
||||||
timer:close()
|
timer:close()
|
||||||
|
|
||||||
fn()
|
fn()
|
||||||
|
Loading…
Reference in New Issue
Block a user