mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
handle case where value has acquired more than one resource in resetFrame
This commit is contained in:
parent
3e92f18ab0
commit
572f2d81eb
@ -5554,10 +5554,8 @@ resetFrame(Context* c, Event* e)
|
||||
clearSites(c, el.value);
|
||||
}
|
||||
|
||||
for (Resource* r = c->acquiredResources; r;) {
|
||||
Resource* next = r->nextAcquired;
|
||||
clearSites(c, r->value);
|
||||
r = next;
|
||||
while (c->acquiredResources) {
|
||||
clearSites(c, c->acquiredResources->value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user