Closed
Description
The start
and stop
methods for the runtime object set the value of started
before the actual flows are started (or even loaded) or stopped. This results in isStarted
returning true
before the flows have even loaded.
The value should be set after the startFlows
/stopFlows
promises resolve to avoid this issue, unless there is a reason for it to behave this way?
runtime.start
:
https://github.com/node-red/node-red/blob/0.13.4/red/runtime/index.js#L146,L147
runtime.stop
:
https://github.com/node-red/node-red/blob/0.13.4/red/runtime/index.js#L179,L180
Metadata
Metadata
Assignees
Labels
No labels