Skip to content

Conversation

@jbaptperez
Copy link

The waitBytesWithTimeout() method did not handle InterruptedExceptions.
As a result, a lot Thread.interrupt() attempts were consumed but not treated
while calling read with timeout methods.

This fix takes into account InterruptedExceptions and throws a
SerialPortException for each of them.

Jean-Baptiste Perez added 3 commits June 14, 2017 15:40
The waitBytesWithTimeout() method did not handle InterruptedExceptions.
As a result, a lot Thread.interrupt() attempts were consumed but not treated
while calling read with timeout methods.

This fix takes into account InterruptedExceptions and throws a
SerialPortException for each of them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant