From 2c8be15e6671df5e74f0241d1185d119a504df16 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Wed, 16 Dec 2015 15:56:22 -0800 Subject: [PATCH] Unnecessary shutdown (Already shutting down) --- assignment-client/src/octree/OctreeServer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/assignment-client/src/octree/OctreeServer.cpp b/assignment-client/src/octree/OctreeServer.cpp index 04b6845ad8..410aa922dc 100644 --- a/assignment-client/src/octree/OctreeServer.cpp +++ b/assignment-client/src/octree/OctreeServer.cpp @@ -897,8 +897,6 @@ void OctreeServer::handleOctreeQueryPacket(QSharedPointer messa if (it == _sendThreads.end()) { _sendThreads.emplace(senderNode->getUUID(), createSendThread(senderNode)); } else if (it->second->isShuttingDown()) { - auto& sendThread = *it->second; - sendThread.setIsShuttingDown(); _sendThreads.erase(it); // Remove right away and wait on thread to be _sendThreads.emplace(senderNode->getUUID(), createSendThread(senderNode));