mirror of
https://github.com/2dust/v2rayN.git
synced 2026-09-30 02:22:08 +03:00
Code optimization, function asynchrony
This commit is contained in:
@@ -341,7 +341,7 @@ namespace ServiceLib.ViewModels
|
||||
//coreType
|
||||
SaveCoreType();
|
||||
|
||||
if (ConfigHandler.SaveConfig(_config) == 0)
|
||||
if (await ConfigHandler.SaveConfig(_config) == 0)
|
||||
{
|
||||
if (needReboot)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user