When stopping consumers on a flow stop the consumer then remove the listener
Description
On stop of a flow the flow was removing the listener then stopping the consumer. This can result in misleading NPE. Switch operation to stop consumer then remove listener.
On stop of a flow the flow was removing the listener then stopping the consumer. This can result in misleading NPE. Switch operation to stop consumer then remove listener.