Skip to content

Commit 6c8d293

Browse files
committed
pass a signal to uv.kill
The docs do *not* specify what happens if no signal is passed. It seems to work (SIGTERM?), but I'd rather not rely on undefined behavior
1 parent 8448a46 commit 6c8d293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/tabnine/chat/binary.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ end
2121
function ChatBinary:close()
2222
if self.handle and not self.handle:is_closing() then
2323
self.handle:close()
24-
uv.kill(self.pid)
24+
uv.kill(self.pid, "sigterm")
2525
self.handle = nil
2626
self.pid = nil
2727
end

0 commit comments

Comments
 (0)