From 92df9704a50c28f51958de771f5f8479eb7f3636 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Mon, 30 Jul 2018 22:33:51 +0200 Subject: [PATCH] Set LLScopedLock::mLocked to false if it gets unlocked; Thanks to Henri Beauchamp for pointing at this --- indra/llcommon/llapr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/llcommon/llapr.cpp b/indra/llcommon/llapr.cpp index 2216037cc5..0426453b69 100644 --- a/indra/llcommon/llapr.cpp +++ b/indra/llcommon/llapr.cpp @@ -259,6 +259,7 @@ void LLScopedLock::unlock() if(mLocked) { mMutex->unlock(); + mLocked = false; } }