ci: typing

This commit is contained in:
Barrett Ruth 2026-03-05 23:57:59 -05:00
parent efa0b1fe73
commit 674c13a0fd
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -412,11 +412,14 @@ end
---@param bufnr integer ---@param bufnr integer
function M.stop(bufnr) function M.stop(bufnr)
local s = state[bufnr] local s = state[bufnr]
if not s or not s.process then if not s then
return
end
local obj = s.process
if not obj then
return return
end end
log.dbg('stopping process for buffer %d', bufnr) log.dbg('stopping process for buffer %d', bufnr)
local obj = s.process
obj:kill('sigterm') obj:kill('sigterm')
local timer = vim.uv.new_timer() local timer = vim.uv.new_timer()