mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:37:35 +02:00
undo last commit -- avoid unneeded read-lock if action-data was dirty
This commit is contained in:
parent
2b5b4f1118
commit
d504f449e4
1 changed files with 0 additions and 1 deletions
|
@ -1795,7 +1795,6 @@ const QByteArray EntityItem::getActionData() const {
|
||||||
EntityItem* unconstThis = const_cast<EntityItem*>(this);
|
EntityItem* unconstThis = const_cast<EntityItem*>(this);
|
||||||
unconstThis->withWriteLock([&] {
|
unconstThis->withWriteLock([&] {
|
||||||
getActionDataInternal();
|
getActionDataInternal();
|
||||||
return _allActionsDataCache;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue