ArrayDeque FlowLogic references were not being removed on flow termination. (#353)

This commit is contained in:
josecoll 2017-03-14 15:25:34 +00:00 committed by GitHub
parent 81dcec579e
commit 18e4620928

View File

@ -40,6 +40,7 @@ class ANSIProgressObserver(val smm: StateMachineManager) {
private fun removeFlowLogic(flowLogic: FlowLogic<*>) {
state.locked {
pending.remove(flowLogic)
if (currentlyRendering == flowLogic) {
wireUpProgressRendering()
}