kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
Fix for #360
rodzic
edcbaf1a71
commit
7304e024c5
1
index.js
1
index.js
|
@ -1202,6 +1202,7 @@ io.on("connection", function(socket) {
|
||||||
}
|
}
|
||||||
io.sockets.emit('data', output);
|
io.sockets.emit('data', output);
|
||||||
status.comms.connectionStatus = 0;
|
status.comms.connectionStatus = 0;
|
||||||
|
stopPort() // also clear queues etc
|
||||||
}); // end port.onclose
|
}); // end port.onclose
|
||||||
|
|
||||||
function portOpened(port, data) {
|
function portOpened(port, data) {
|
||||||
|
|
Ładowanie…
Reference in New Issue