mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 20:44:58 +02:00
Merge pull request #13683 from zfox23/MS17039_dontDeleteDDV
Implement MS17039: Don't delete entities during DDV when Metaverse API call returns error
This commit is contained in:
commit
e8e04673a4
1 changed files with 1 additions and 4 deletions
|
@ -522,11 +522,8 @@ void EntityServer::startDynamicDomainVerification() {
|
||||||
qCDebug(entities) << "Entity passed dynamic domain verification:" << entityID;
|
qCDebug(entities) << "Entity passed dynamic domain verification:" << entityID;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
qCDebug(entities) << "Call to" << networkReply->url() << "failed with error" << networkReply->error() << "; deleting entity" << entityID
|
qCDebug(entities) << "Call to" << networkReply->url() << "failed with error" << networkReply->error() << "; NOT deleting entity" << entityID
|
||||||
<< "More info:" << jsonObject;
|
<< "More info:" << jsonObject;
|
||||||
tree->withWriteLock([&] {
|
|
||||||
tree->deleteEntity(entityID, true);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
networkReply->deleteLater();
|
networkReply->deleteLater();
|
||||||
|
|
Loading…
Reference in a new issue