mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 08:23:04 +02:00
add a guard for JurisdictionListener kill for missing UUID
This commit is contained in:
parent
a57f13e78d
commit
5c3075401a
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ void JurisdictionListener::nodeAdded(Node* node) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void JurisdictionListener::nodeKilled(Node* node) {
|
void JurisdictionListener::nodeKilled(Node* node) {
|
||||||
_jurisdictions.erase(_jurisdictions.find(node->getUUID()));
|
if (_jurisdictions.find(node->getUUID()) != _jurisdictions.end()) {
|
||||||
|
_jurisdictions.erase(_jurisdictions.find(node->getUUID()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool JurisdictionListener::queueJurisdictionRequest() {
|
bool JurisdictionListener::queueJurisdictionRequest() {
|
||||||
|
|
Loading…
Reference in a new issue