aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-02-01 21:29:19 +0800
committerGitHub <noreply@github.com>2026-02-01 21:29:19 +0800
commit1906da52dbc9876046ec9866a5aae25309d7587e (patch)
treeb6d49f763a477d1097adfb05ef28c75a513dc22c /test/functional/vimscript/executable_spec.lua
parent0501c5fd0959895b18d8166c6c034cdf1832edf3 (diff)
downloadrneovim-1906da52dbc9876046ec9866a5aae25309d7587e.tar.gz
rneovim-1906da52dbc9876046ec9866a5aae25309d7587e.tar.bz2
rneovim-1906da52dbc9876046ec9866a5aae25309d7587e.zip
fix(lua): close vim.defer_fn() timer if vim.schedule() failed (#37647)
Problem: Using vim.defer_fn() just before Nvim exit leaks luv handles. Solution: Make vim.schedule() return an error message if scheduling failed. Make vim.defer_fn() close timer if vim.schedule() failed.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions