This change fixes a switch statement in signalflow.Computation.processMessage() for incoming SignalFlow control messages, which should dispatch on Event (e.g CHANNEL_ABORT, END_OF_CHANNEL), not Type, which is already determined in the outer type-switch.
The bug meant a computation with a Stop time specified could never be understood to be completed when receiving the END_OF_CHANNEL or CHANNEL_ABORT control messages from the Signalflow API. We confirmed that a Computation.Done() will properly yield after receiving END_OF_CHANNEL with this fix.
This change fixes a switch statement in
signalflow.Computation.processMessage()
for incoming SignalFlow control messages, which should dispatch on Event (e.gCHANNEL_ABORT
,END_OF_CHANNEL
), not Type, which is already determined in the outer type-switch.The bug meant a computation with a Stop time specified could never be understood to be completed when receiving the
END_OF_CHANNEL
orCHANNEL_ABORT
control messages from the Signalflow API. We confirmed that aComputation.Done()
will properly yield after receivingEND_OF_CHANNEL
with this fix.