forked from svrjs/svrjs
Add handler for "\x12CLOSE" messages
This commit is contained in:
parent
3de85443d5
commit
3eacbdb397
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue