(fix): kill background process while closing the app

This commit is contained in:
TheDevisi
2026-04-11 11:50:09 +03:00
parent 4dbcae32f2
commit 6709e443e0

View File

@@ -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() {