diff --git a/assignment-client/src/octree/OctreeServer.cpp b/assignment-client/src/octree/OctreeServer.cpp index 477d3dd612..80e0060299 100644 --- a/assignment-client/src/octree/OctreeServer.cpp +++ b/assignment-client/src/octree/OctreeServer.cpp @@ -1292,6 +1292,7 @@ void OctreeServer::aboutToFinish() { for (auto& it : _sendThreads) { auto& sendThread = *it.second; sendThread.setIsShuttingDown(); + sendThread.terminate(); } // Clear will destruct all the unique_ptr to OctreeSendThreads which will call the GenericThread's dtor