From 7304e024c5845d6f01af3ee4ec9075f22861bfc7 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 18 Jun 2024 22:02:06 +0200 Subject: [PATCH] Fix for #360 --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 3aacd6b..fb806d8 100644 --- a/index.js +++ b/index.js @@ -1202,6 +1202,7 @@ io.on("connection", function(socket) { } io.sockets.emit('data', output); status.comms.connectionStatus = 0; + stopPort() // also clear queues etc }); // end port.onclose function portOpened(port, data) {