From db1b3fdaadb67d9b08ec2a59ae422e2d7cefad2e Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 7 May 2023 19:09:51 +0800 Subject: [PATCH] Remove TunHandler --- v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs b/v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs index 1e90d7aa..7a250e96 100644 --- a/v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs +++ b/v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs @@ -1617,18 +1617,6 @@ namespace v2rayN.ViewModels } } - private void TunModeSwitch() - { - if (EnableTun) - { - TunHandler.Instance.Start(); - } - else - { - TunHandler.Instance.Stop(); - } - } - #endregion System proxy and Routings #region UI