mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
lock mutex in clearEntitiesInernal()
This commit is contained in:
parent
b4edfe2390
commit
a933935e2d
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ void SimpleEntitySimulation::changeEntityInternal(EntityItemPointer entity) {
|
|||
}
|
||||
|
||||
void SimpleEntitySimulation::clearEntitiesInternal() {
|
||||
QMutexLocker lock(&_mutex);
|
||||
_entitiesWithSimulationOwner.clear();
|
||||
_entitiesThatNeedSimulationOwner.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue