diff --git a/client/mozilla/localsocketcontroller.cpp b/client/mozilla/localsocketcontroller.cpp index 57cfdcb73..def13221f 100644 --- a/client/mozilla/localsocketcontroller.cpp +++ b/client/mozilla/localsocketcontroller.cpp @@ -15,10 +15,8 @@ #include #include -#include "ipaddress.h" #include "leakdetector.h" #include "logger.h" -#include "models/server.h" #include "daemon/daemonerrors.h" #include "core/ipcclient.h" @@ -128,7 +126,6 @@ void LocalSocketController::daemonConnected() { } void LocalSocketController::activate(const QJsonObject &rawConfig) { - m_RawConfig = rawConfig; QString protocolName = rawConfig.value("protocol").toString(); @@ -230,7 +227,6 @@ void LocalSocketController::activate(const QJsonObject &rawConfig) { json.insert("allowedIPAddressRanges", jsAllowedIPAddesses); - QJsonArray jsExcludedAddresses; jsExcludedAddresses.append(wgConfig.value(amnezia::config_key::hostName)); if (splitTunnelType == 2) { @@ -276,7 +272,6 @@ void LocalSocketController::activate(const QJsonObject &rawConfig) { json.insert(amnezia::config_key::transportPacketMagicHeader, wgConfig.value(amnezia::config_key::transportPacketMagicHeader)); } - write(json); } diff --git a/client/mozilla/localsocketcontroller.h b/client/mozilla/localsocketcontroller.h index 3fea8ac9a..79235fb04 100644 --- a/client/mozilla/localsocketcontroller.h +++ b/client/mozilla/localsocketcontroller.h @@ -65,7 +65,6 @@ class LocalSocketController final : public ControllerImpl { QJsonObject m_RawConfig; QTimer m_initializingTimer; - QTimer m_statusTimer; uint32_t m_initializingRetry = 0; }; diff --git a/ipc/ipcserver.cpp b/ipc/ipcserver.cpp index 6c43203b8..bd51a6862 100644 --- a/ipc/ipcserver.cpp +++ b/ipc/ipcserver.cpp @@ -196,7 +196,6 @@ bool IpcServer::startNetworkCheck(const QString& serverIpv4Gateway, const QStrin bool IpcServer::stopNetworkCheck() { - qDebug() << "stopNetworkCheck"; m_pingHelper.stop(); return true;