This commit is contained in:
ZappoMan 2014-03-31 15:37:53 -07:00
parent a9d153054f
commit 1eb15b0d12

View file

@ -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;
}