diff --git a/v2rayN/v2rayN/App.xaml.cs b/v2rayN/v2rayN/App.xaml.cs index 05087494..c4e40094 100644 --- a/v2rayN/v2rayN/App.xaml.cs +++ b/v2rayN/v2rayN/App.xaml.cs @@ -34,7 +34,6 @@ namespace v2rayN if (!rebootas && !bCreatedNew) { ProgramStarted.Set(); - Current.Shutdown(); Environment.Exit(0); return; } @@ -55,7 +54,6 @@ namespace v2rayN if (ConfigHandler.LoadConfig(ref _config) != 0) { UI.Show($"Loading GUI configuration file is abnormal,please restart the application{Environment.NewLine}加载GUI配置文件异常,请重启应用"); - Application.Current.Shutdown(); Environment.Exit(0); return; }