fix: remove redundant gateway from xrayprotocol (#2147)

This commit is contained in:
Yaroslav Gurov
2026-01-22 11:03:36 +01:00
committed by GitHub
parent b591dd7445
commit 423fe3fd4f

View File

@@ -499,7 +499,7 @@ bool VpnConnection::startNetworkCheckIfReady()
return IpcClient::withInterface([&](QSharedPointer<IpcInterfaceReplica> iface) {
QRemoteObjectPendingReply<bool> reply = iface->startNetworkCheck(gateway, localAddress);
return reply.waitForFinished() && reply.returnValue();
return reply.waitForFinished(1000) && reply.returnValue();
});
#else
return false;