Skip to content

Commit 9a65c2a

Browse files
committed
R__ASSERT that the calling sequence is sane.
1 parent 2206ee5 commit 9a65c2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/metacling/src/TCling.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8482,6 +8482,7 @@ void TCling::ForgetMutexState()
84828482

84838483
void TCling::ApplyToInterpreterMutex(void *delta)
84848484
{
8485+
R__ASSERT(!fInitialMutex.empty() && "Inconsistent state of fInitialMutex!");
84858486
if (gInterpreterMutex) {
84868487
if (delta) {
84878488
auto typedDelta = static_cast<TVirtualRWMutex::StateDelta *>(delta);

0 commit comments

Comments
 (0)