feat: added clearing the process after it was killed

This commit is contained in:
Serhiy Mytrovtsiy
2026-01-29 21:08:21 +01:00
parent 894b5b6233
commit cdcdd97fff

View File

@@ -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)
}
}
}