From 204451db6c56953b6bda4807b07ae86cfde27560 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Thu, 3 Apr 2025 14:22:12 +0800 Subject: [PATCH] Bug fix https://github.com/2dust/v2rayN/issues/7058 --- v2rayN/ServiceLib/Handler/AppHandler.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2rayN/ServiceLib/Handler/AppHandler.cs b/v2rayN/ServiceLib/Handler/AppHandler.cs index ae46a47d..0b8054f1 100644 --- a/v2rayN/ServiceLib/Handler/AppHandler.cs +++ b/v2rayN/ServiceLib/Handler/AppHandler.cs @@ -80,6 +80,10 @@ public sealed class AppHandler Logging.SaveLog($"v2rayN start up | {Utils.GetRuntimeInfo()}"); Logging.LoggingEnabled(_config.GuiItem.EnableLog); + //First determine the port value + _ = StatePort; + _ = StatePort2; + return true; }