mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure tabs are removed from runtime on partial deploy
This commit is contained in:
parent
5bbf576dae
commit
50d0a88276
@ -286,7 +286,7 @@ function stop(type,diff) {
|
|||||||
for (var id in activeFlows) {
|
for (var id in activeFlows) {
|
||||||
if (activeFlows.hasOwnProperty(id)) {
|
if (activeFlows.hasOwnProperty(id)) {
|
||||||
promises = promises.concat(activeFlows[id].stop(stopList));
|
promises = promises.concat(activeFlows[id].stop(stopList));
|
||||||
if (!diff || diff.removed[id]) {
|
if (!diff || diff.removed.indexOf(id)!==-1) {
|
||||||
delete activeFlows[id];
|
delete activeFlows[id];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user