fix: drop the needless try/catch around send_signal

Gio.Subprocess.send_signal returns void and is race-free, so it never throws.
This commit is contained in:
Eduard Tolosa 2026-07-02 15:38:22 -05:00
parent 98307b8a2e
commit d75ba7fff6

View file

@ -326,7 +326,7 @@ export default class StrataExtension extends Extension {
if (!this._daemon) return;
const daemon = this._daemon;
this._daemon = null;
try { daemon.send_signal(15); } catch { /* already exited */ } // SIGTERM
daemon.send_signal(15); // SIGTERM
}