Fixed the issue of save window size when exit

https://github.com/2dust/v2rayN/issues/6251
This commit is contained in:
2dust
2024-12-07 21:13:57 +08:00
parent 78a28fbdb3
commit a28cef5b98
8 changed files with 25 additions and 44 deletions
@@ -283,6 +283,7 @@ namespace ServiceLib.ViewModels
try
{
Logging.SaveLog("MyAppExitAsync Begin");
MessageBus.Current.SendMessage("", EMsgCommand.AppExit.ToString());
await ConfigHandler.SaveConfig(_config);
await SysProxyHandler.UpdateSysProxy(_config, true);