[ ] Docker (Specify the docker image that you're using and the command you used to start the container)
[X] Other (Provide details of your environment) : Local - Windows - master branch
Describe the bug
When I start a stream simulation when the previous simulation is not stopped properly:
sending status to client closed
sending status to client closed
simulator: stopping
sending status to client closed
Error starting simulator Error: Simulator process: Cannot start! Process is not available (probably already closed or errored)
at RemoteSimulatorProcess.throwIfProcessUnavailable (C:\Users\apandura\Desktop\AnandDocuments\workspace\flogo-web\apps\server\src\modules\simulator\remote-simulator-process.ts:137:13)
at RemoteSimulatorProcess.callRestControl (C:\Users\apandura\Desktop\AnandDocuments\workspace\flogo-web\apps\server\src\modules\simulator\remote-simulator-process.ts:122:10)
at RemoteSimulatorProcess.start (C:\Users\apandura\Desktop\AnandDocuments\workspace\flogo-web\apps\server\src\modules\simulator\remote-simulator-process.ts:34:17)
at StreamSimulator.startNewProcess (C:\Users\apandura\Desktop\AnandDocuments\workspace\flogo-web\apps\server\src\modules\simulator\simulator.ts:103:31)
Environment
How are you running Flogo Web?
Describe the bug
When I start a stream simulation when the previous simulation is not stopped properly: