mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-06 05:22:09 +03:00
Optimize save config files
This commit is contained in:
@@ -282,16 +282,16 @@ namespace ServiceLib.ViewModels
|
||||
{
|
||||
try
|
||||
{
|
||||
Logging.SaveLog("MyAppExit Begin");
|
||||
await SysProxyHandler.UpdateSysProxy(_config, true);
|
||||
Logging.SaveLog("MyAppExitAsync Begin");
|
||||
|
||||
await ConfigHandler.SaveConfig(_config);
|
||||
await SysProxyHandler.UpdateSysProxy(_config, true);
|
||||
await ProfileExHandler.Instance.SaveTo();
|
||||
await StatisticsHandler.Instance.SaveTo();
|
||||
StatisticsHandler.Instance.Close();
|
||||
await CoreHandler.Instance.CoreStop();
|
||||
|
||||
Logging.SaveLog("MyAppExit End");
|
||||
Logging.SaveLog("MyAppExitAsync End");
|
||||
}
|
||||
catch { }
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user