Skip to content
Snippets Groups Projects
Commit b98ab93e authored by Torsten Grote's avatar Torsten Grote
Browse files

Merge branch '283-die-bluetooth-die' into 'master'

Ensure key agreement tasks finish if they ignore interrupts

The problem here was that `BluetoothSocket#connect()` was throwing an IOException when the task was interrupted - the task treated this like any other connection failure and retried, so the task never finished.

The fix is to check whether the timeout has expired before retrying, so the task eventually finishes even if it ignores the original interrupt.

Closes #283

See merge request !443
parents 9c22ea84 cdd234df
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment