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(); }