diff --git a/makespec/BUILDVERSION b/makespec/BUILDVERSION index fe624966..a5b8ba56 100644 --- a/makespec/BUILDVERSION +++ b/makespec/BUILDVERSION @@ -1 +1 @@ -5421 \ No newline at end of file +5422 diff --git a/src/core/handler/ConfigHandler.cpp b/src/core/handler/ConfigHandler.cpp index b0769eac..9f0a3c20 100644 --- a/src/core/handler/ConfigHandler.cpp +++ b/src/core/handler/ConfigHandler.cpp @@ -570,11 +570,10 @@ namespace Qv2ray::core::handlers // Check if anything left behind (not being updated or changed significantly) LOG(MODULE_CORE_HANDLER, "Removed old connections not have been matched.") - for (auto conn : connectionsOrig) + for (const auto &conn : originalConnections) { LOG(MODULE_CORE_HANDLER, "Removing: " + conn.toString()) - abort(); - // DeleteConnection(conn); + RemoveConnectionFromGroup(conn, id); } // Update the time