[macOS] fix: close button not work

This commit is contained in:
ShiinaRinne 2025-01-29 18:01:56 +08:00
parent 8f0f67745e
commit 469967714c

View file

@ -389,7 +389,8 @@ namespace v2rayN.Desktop.Views
_blCloseByUser = true; _blCloseByUser = true;
StorageUI(); StorageUI();
await ViewModel?.MyAppExitAsync(false); await ViewModel?.MyAppExitAsync(false);
Close();
} }
#endregion Event #endregion Event