mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 06:12:21 +02:00
moved OctreeServer::stopTrackingThread() to destructor instead of setIsShuttingDown()
This commit is contained in:
parent
20d944a43b
commit
21e0bc119b
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue