From c825c08ed015671e7b12a54e594676f46c8675dc Mon Sep 17 00:00:00 2001 From: Simon G Date: Mon, 12 Apr 2021 13:11:58 +0200 Subject: [PATCH] - close main window on exit --- Mystify/App.axaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Mystify/App.axaml.cs b/Mystify/App.axaml.cs index 40f1dc7..04e28b1 100644 --- a/Mystify/App.axaml.cs +++ b/Mystify/App.axaml.cs @@ -64,6 +64,7 @@ namespace Mystify private void OnExit(object? sender, ControlledApplicationLifetimeExitEventArgs args) { + _mainWindow?.Close(); _notifyIcon?.Remove(); _kernel?.Dispose(); }