Add missing exit call on TestExclusive
This commit is contained in:
parent
25eb2c75b4
commit
e766eb5b0c
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ namespace ChocolArm64.Memory
|
||||||
|
|
||||||
if (!_monitors.TryGetValue(core, out ArmMonitor threadMon))
|
if (!_monitors.TryGetValue(core, out ArmMonitor threadMon))
|
||||||
{
|
{
|
||||||
|
Monitor.Exit(_monitors);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue