mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix global leak in lib/flows/index.js
This commit is contained in:
parent
5012568464
commit
afb17af571
@ -424,7 +424,7 @@ function stop(type,diff,muteLog) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return Promise.all(promises).then(function() {
|
return Promise.all(promises).then(function() {
|
||||||
for (id in activeNodesToFlow) {
|
for (let id in activeNodesToFlow) {
|
||||||
if (activeNodesToFlow.hasOwnProperty(id)) {
|
if (activeNodesToFlow.hasOwnProperty(id)) {
|
||||||
if (!activeFlows[activeNodesToFlow[id]]) {
|
if (!activeFlows[activeNodesToFlow[id]]) {
|
||||||
delete activeNodesToFlow[id];
|
delete activeNodesToFlow[id];
|
||||||
|
Loading…
Reference in New Issue
Block a user