From cdcdd97fffb36b60d5ee23700625d461240286d3 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Thu, 29 Jan 2026 21:08:21 +0100 Subject: [PATCH] feat: added clearing the process after it was killed --- Kit/process.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kit/process.swift b/Kit/process.swift index 79a5273b..d8839ea8 100644 --- a/Kit/process.swift +++ b/Kit/process.swift @@ -266,6 +266,8 @@ public class ProcessView: NSStackView { @objc private func kill() { if let pid = self.pid { _ = syncShell("kill -9 \(pid)") + self.clear() + self.setLock(false) } } }