mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-08 05:27:44 +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,8 +33,10 @@ void JurisdictionListener::nodeAdded(Node* node) {
|
|||
}
|
||||
|
||||
void JurisdictionListener::nodeKilled(Node* node) {
|
||||
if (_jurisdictions.find(node->getUUID()) != _jurisdictions.end()) {
|
||||
_jurisdictions.erase(_jurisdictions.find(node->getUUID()));
|
||||
}
|
||||
}
|
||||
|
||||
bool JurisdictionListener::queueJurisdictionRequest() {
|
||||
static unsigned char buffer[MAX_PACKET_SIZE];
|
||||
|
|
Loading…
Reference in a new issue