moved OctreeServer::stopTrackingThread() to destructor instead of setIsShuttingDown()

This commit is contained in:
ZappoMan 2014-04-01 09:50:10 -07:00
parent 20d944a43b
commit 21e0bc119b

View file

@ -48,13 +48,14 @@ OctreeSendThread::~OctreeSendThread() {
"- ending sending thread [" << this << "]";
OctreeServer::clientDisconnected();
OctreeServer::stopTrackingThread(this);
_node.clear();
_myAssignment.clear();
}
void OctreeSendThread::setIsShuttingDown() {
_isShuttingDown = true;
OctreeServer::stopTrackingThread(this);
}