sessionLock: fix the check for locking a locked session (#6843)

This commit is contained in:
Maximilian Seidler
2024-07-11 16:40:43 +02:00
committed by GitHub
parent 3247d18a7c
commit 9ff83f4aa9

View File

@@ -177,7 +177,7 @@ void CSessionLockProtocol::onLock(CExtSessionLockManagerV1* pMgr, uint32_t id) {
return;
}
if (m_vLocks.size() > 1) {
if (locked) {
LOGM(ERR, "Tried to lock a locked session");
RESOURCE->inert = true;
RESOURCE->resource->sendFinished();