steveohara / j2mod

Enhanced Modbus library implemented in the Java programming language
Apache License 2.0
275 stars 110 forks source link

Ctrl+C SIGINT does not shutdown JVM with open SerialConnection #131

Closed hauges closed 1 year ago

hauges commented 2 years ago

Once a SerialConnection is opened, the JVM cannot be terminated with a Ctrl+C SIGINT. It can only be terminated with a Ctrl+Z SIGTSTP. I believe this is related to this issue. Updating to com.fazecast.jSerialComm version 2.9.2 fixes this issue.

Specifications

steveohara commented 1 year ago

Merged the request change