From 6709e443e02dd2d92ef4dc2551994e3342ff7021 Mon Sep 17 00:00:00 2001 From: TheDevisi Date: Sat, 11 Apr 2026 11:50:09 +0300 Subject: [PATCH] (fix): kill background process while closing the app --- ui/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/main.go b/ui/main.go index 47e38c4..e67f12f 100644 --- a/ui/main.go +++ b/ui/main.go @@ -41,6 +41,7 @@ func (p *Program) Run() { w := p.App.NewWindow("OlcRTC") w.CenterOnScreen() w.Resize(fyne.NewSize(1280, 700)) + w.SetOnClosed(p.olcrtcStop) p.ParentWindow = w settingsBtn := widget.NewButtonWithIcon("Settings", theme.SettingsIcon(), func() {