mirror of
https://github.com/overte-org/overte.git
synced 2025-04-30 08:42:43 +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() {
|
OctreeQueryNode::~OctreeQueryNode() {
|
||||||
_isShuttingDown = true;
|
_isShuttingDown = true;
|
||||||
const bool extraDebugging = true;
|
const bool extraDebugging = false;
|
||||||
if (extraDebugging) {
|
if (extraDebugging) {
|
||||||
qDebug() << "OctreeQueryNode::~OctreeQueryNode()";
|
qDebug() << "OctreeQueryNode::~OctreeQueryNode()";
|
||||||
}
|
}
|
||||||
|
@ -77,18 +77,8 @@ void OctreeQueryNode::deleteLater() {
|
||||||
|
|
||||||
void OctreeQueryNode::nodeKilled() {
|
void OctreeQueryNode::nodeKilled() {
|
||||||
_isShuttingDown = true;
|
_isShuttingDown = true;
|
||||||
const bool extraDebugging = true;
|
|
||||||
if (extraDebugging) {
|
|
||||||
qDebug() << "OctreeQueryNode::nodeKilled()";
|
|
||||||
}
|
|
||||||
if (_octreeSendThread) {
|
if (_octreeSendThread) {
|
||||||
if (extraDebugging) {
|
|
||||||
qDebug() << "OctreeQueryNode::nodeKilled()... calling _octreeSendThread->terminate()";
|
|
||||||
}
|
|
||||||
_octreeSendThread->terminate();
|
_octreeSendThread->terminate();
|
||||||
if (extraDebugging) {
|
|
||||||
qDebug() << "OctreeQueryNode::nodeKilled()... calling delete _octreeSendThread";
|
|
||||||
}
|
|
||||||
delete _octreeSendThread;
|
delete _octreeSendThread;
|
||||||
_octreeSendThread = NULL;
|
_octreeSendThread = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue