mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 22:22:37 +02:00
cleanup
This commit is contained in:
parent
a9d153054f
commit
1eb15b0d12
1 changed files with 1 additions and 11 deletions
|
@ -44,7 +44,7 @@ OctreeQueryNode::OctreeQueryNode() :
|
|||
|
||||
OctreeQueryNode::~OctreeQueryNode() {
|
||||
_isShuttingDown = true;
|
||||
const bool extraDebugging = true;
|
||||
const bool extraDebugging = false;
|
||||
if (extraDebugging) {
|
||||
qDebug() << "OctreeQueryNode::~OctreeQueryNode()";
|
||||
}
|
||||
|
@ -77,18 +77,8 @@ void OctreeQueryNode::deleteLater() {
|
|||
|
||||
void OctreeQueryNode::nodeKilled() {
|
||||
_isShuttingDown = true;
|
||||
const bool extraDebugging = true;
|
||||
if (extraDebugging) {
|
||||
qDebug() << "OctreeQueryNode::nodeKilled()";
|
||||
}
|
||||
if (_octreeSendThread) {
|
||||
if (extraDebugging) {
|
||||
qDebug() << "OctreeQueryNode::nodeKilled()... calling _octreeSendThread->terminate()";
|
||||
}
|
||||
_octreeSendThread->terminate();
|
||||
if (extraDebugging) {
|
||||
qDebug() << "OctreeQueryNode::nodeKilled()... calling delete _octreeSendThread";
|
||||
}
|
||||
delete _octreeSendThread;
|
||||
_octreeSendThread = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue