This commit is contained in:
rusefi 2019-08-14 22:13:52 -04:00
parent cc8507b4b4
commit 0994f3db9d
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ public class SerialIoStreamJSSC implements IoStream {
isClosed = true;
try {
FileLog.MAIN.logLine("CLOSING PORT... " + serialPort.getPortName());
serialPort.removeEventListener();
serialPort.closePort();
FileLog.MAIN.logLine("PORT CLOSED: " + serialPort.getPortName());
} catch (SerialPortException e) {