mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
assert thread is in exclusive or exit state in removeMonitor
This commit is contained in:
parent
ebb498587f
commit
7dcd109567
@ -1447,7 +1447,8 @@ makeArrayClass(Thread* t, object spec)
|
||||
void
|
||||
removeMonitor(Thread* t, object o)
|
||||
{
|
||||
expect(t, t->state == Thread::ExclusiveState);
|
||||
expect(t, t->state == Thread::ExclusiveState
|
||||
or t->state == Thread::ExitState);
|
||||
|
||||
unsigned hash;
|
||||
if (DebugMonitors) {
|
||||
|
Loading…
Reference in New Issue
Block a user