This commit is contained in:
rusefi 2019-08-14 22:13:52 -04:00
parent ac6363952a
commit 7a96a75657
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) {