mirror of
https://github.com/corda/corda.git
synced 2025-01-22 04:18:31 +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
|
void
|
||||||
removeMonitor(Thread* t, object o)
|
removeMonitor(Thread* t, object o)
|
||||||
{
|
{
|
||||||
expect(t, t->state == Thread::ExclusiveState);
|
expect(t, t->state == Thread::ExclusiveState
|
||||||
|
or t->state == Thread::ExitState);
|
||||||
|
|
||||||
unsigned hash;
|
unsigned hash;
|
||||||
if (DebugMonitors) {
|
if (DebugMonitors) {
|
||||||
|
Loading…
Reference in New Issue
Block a user