mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
fix: prevent crash on subscription update
This commit is contained in:
parent
e8ab89c9c0
commit
4e2efe14dc
@ -1 +1 @@
|
||||
5421
|
||||
5422
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user