diff --git a/headers/private/shared/AutoLocker.h b/headers/private/shared/AutoLocker.h index a12c75c5fd..24ea9cbc41 100644 --- a/headers/private/shared/AutoLocker.h +++ b/headers/private/shared/AutoLocker.h @@ -94,7 +94,7 @@ public: { Unlock(); fLockable = lockable; - fLocked = alreadyLocked; + fLocked = (lockable && alreadyLocked); if (!alreadyLocked && lockIfNotLocked) Lock(); }