mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix uncaught exception on deploy whilst node sending messages
This commit is contained in:
parent
b9f03e7d80
commit
428fbb8622
@ -128,7 +128,7 @@ function setConfig(_config,type,muteLog) {
|
|||||||
|
|
||||||
function getNode(id) {
|
function getNode(id) {
|
||||||
var node;
|
var node;
|
||||||
if (activeNodesToFlow[id]) {
|
if (activeNodesToFlow[id] && activeFlows[activeNodesToFlow[id]]) {
|
||||||
return activeFlows[activeNodesToFlow[id]].getNode(id);
|
return activeFlows[activeNodesToFlow[id]].getNode(id);
|
||||||
}
|
}
|
||||||
for (var flowId in activeFlows) {
|
for (var flowId in activeFlows) {
|
||||||
|
Loading…
Reference in New Issue
Block a user