mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
fix unlock of locker not mutex, don't pack permission defaults
This commit is contained in:
parent
679513599c
commit
dd5b08bdc1
1 changed files with 1 additions and 4 deletions
|
@ -686,9 +686,6 @@ void DomainServerSettingsManager::unpackPermissions() {
|
||||||
|
|
||||||
// add the permissions to the standard map
|
// add the permissions to the standard map
|
||||||
_standardAgentPermissions[standardKey] = perms;
|
_standardAgentPermissions[standardKey] = perms;
|
||||||
|
|
||||||
// this will require a packing of permissions
|
|
||||||
needPack = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1080,7 +1077,7 @@ QVariant DomainServerSettingsManager::valueOrDefaultValueForKeyPath(const QStrin
|
||||||
return *foundValue;
|
return *foundValue;
|
||||||
} else {
|
} else {
|
||||||
// we don't need the settings lock anymore since we're done reading from the config map
|
// we don't need the settings lock anymore since we're done reading from the config map
|
||||||
_settingsLock.unlock();
|
locker.unlock();
|
||||||
|
|
||||||
int dotIndex = keyPath.indexOf('.');
|
int dotIndex = keyPath.indexOf('.');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue