1
0
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:
Nick O'Leary 2016-03-16 15:37:44 +00:00
parent b9f03e7d80
commit 428fbb8622

View File

@ -128,7 +128,7 @@ function setConfig(_config,type,muteLog) {
function getNode(id) {
var node;
if (activeNodesToFlow[id]) {
if (activeNodesToFlow[id] && activeFlows[activeNodesToFlow[id]]) {
return activeFlows[activeNodesToFlow[id]].getNode(id);
}
for (var flowId in activeFlows) {