mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:57:59 +02:00
don't handle octree query while server shutting down
This commit is contained in:
parent
d04c2e4a78
commit
010cbd9934
1 changed files with 10 additions and 8 deletions
|
@ -813,6 +813,7 @@ void OctreeServer::parsePayload() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void OctreeServer::handleOctreeQueryPacket(QSharedPointer<NLPacket> packet, SharedNodePointer senderNode) {
|
void OctreeServer::handleOctreeQueryPacket(QSharedPointer<NLPacket> packet, SharedNodePointer senderNode) {
|
||||||
|
if (!_isFinished) {
|
||||||
// If we got a query packet, then we're talking to an agent, and we
|
// If we got a query packet, then we're talking to an agent, and we
|
||||||
// need to make sure we have it in our nodeList.
|
// need to make sure we have it in our nodeList.
|
||||||
auto nodeList = DependencyManager::get<NodeList>();
|
auto nodeList = DependencyManager::get<NodeList>();
|
||||||
|
@ -823,6 +824,7 @@ void OctreeServer::handleOctreeQueryPacket(QSharedPointer<NLPacket> packet, Shar
|
||||||
nodeData->initializeOctreeSendThread(this, senderNode);
|
nodeData->initializeOctreeSendThread(this, senderNode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void OctreeServer::handleOctreeDataNackPacket(QSharedPointer<NLPacket> packet, SharedNodePointer senderNode) {
|
void OctreeServer::handleOctreeDataNackPacket(QSharedPointer<NLPacket> packet, SharedNodePointer senderNode) {
|
||||||
// If we got a nack packet, then we're talking to an agent, and we
|
// If we got a nack packet, then we're talking to an agent, and we
|
||||||
|
|
Loading…
Reference in a new issue