mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
845ef8d3d1
Terminate sessions that need to be removed instantly in whatever transition is currently executing, rather than scheduling another event and doing so at a later time. To do this, update the transition being created in `TopLevelTransition` to remove the sessions and append the `RemoveSessionBindings` action to it. This achieves the same outcome as the original code but does so with 1 less transition. Doing this also removes the race condition that can occur where another external event is added to the flow's event queue before the terminate event could be added. |
||
---|---|---|
.. | ||
capsule | ||
djvm | ||
src | ||
build.gradle |