fix(vim.system): close check handle (#24270)

Fix hang after running vim.system() with sanitizers.
This commit is contained in:
zeertzjq
2023-07-06 12:56:19 +08:00
committed by GitHub
parent 25e62697c3
commit 2afb04758c
3 changed files with 4 additions and 5 deletions

View File

@@ -287,6 +287,7 @@ function M.run(cmd, opts, on_exit)
end
end
check:stop()
check:close()
state.done = true
state.result = {