diff --git a/client/daemon/daemonlocalserverconnection.cpp b/client/daemon/daemonlocalserverconnection.cpp index 43c67f16..1a49b7e5 100644 --- a/client/daemon/daemonlocalserverconnection.cpp +++ b/client/daemon/daemonlocalserverconnection.cpp @@ -108,7 +108,7 @@ void DaemonLocalServerConnection::parseCommand(const QByteArray& data) { } if (type == "deactivate") { - Daemon::instance()->deactivate(); + Daemon::instance()->deactivate(true); return; } diff --git a/client/mozilla/localsocketcontroller.cpp b/client/mozilla/localsocketcontroller.cpp index 40bc0bba..00811500 100644 --- a/client/mozilla/localsocketcontroller.cpp +++ b/client/mozilla/localsocketcontroller.cpp @@ -175,6 +175,7 @@ void LocalSocketController::deactivate() { QJsonObject json; json.insert("type", "deactivate"); write(json); + emit disconnected(); } void LocalSocketController::checkStatus() {