diff --git a/domain-server/src/DomainServer.cpp b/domain-server/src/DomainServer.cpp index f42eb6c005..eb62dacf79 100644 --- a/domain-server/src/DomainServer.cpp +++ b/domain-server/src/DomainServer.cpp @@ -991,8 +991,6 @@ void DomainServer::nodeKilled(SharedNodePointer node) { } } - if (node->getType() == NodeType::Agent && n - // cleanup the connection secrets that we set up for this node (on the other nodes) foreach (const QUuid& otherNodeSessionUUID, nodeData->getSessionSecretHash().keys()) { SharedNodePointer otherNode = LimitedNodeList::getInstance()->nodeWithUUID(otherNodeSessionUUID);