diff --git a/src/index.js b/src/index.js index b4c2160..b183692 100644 --- a/src/index.js +++ b/src/index.js @@ -1265,6 +1265,8 @@ function msgListener(message) { } if (message == "\x12END") { // Do nothing + } else if (msg == "\x12CLOSE") { + closedMaster = true; } else if (message[0] == "\x12") { console.log("RECEIVED CONTROL MESSAGE: " + message.substr(1)); } else {