bump package and close ws
This commit is contained in:
parent
8314f9dc05
commit
a7e40afea4
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-contrib-web-worldmap",
|
||||
"version" : "1.0.31",
|
||||
"version" : "1.0.32",
|
||||
"description" : "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||
"dependencies" : {
|
||||
"express": "^4.15.0",
|
||||
|
@ -71,7 +71,10 @@ module.exports = function(RED) {
|
||||
client.disconnect(true);
|
||||
});
|
||||
}
|
||||
node.on("close", function() { socket = null; });
|
||||
node.on("close", function() {
|
||||
socket.close();
|
||||
socket = null;
|
||||
});
|
||||
node.status({});
|
||||
socket.on('connection', callback);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user