We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92698bb commit bb0c971Copy full SHA for bb0c971
dfu/src/main/java/no/nordicsemi/android/dfu/DfuBaseService.java
@@ -1543,7 +1543,7 @@ protected BluetoothGatt connect(@NonNull final String address) {
1543
// Connection error may occur as well.
1544
try {
1545
synchronized (mLock) {
1546
- while ((mConnectionState == STATE_CONNECTING || mConnectionState == STATE_CONNECTED) && mError == 0)
+ while ((mConnectionState == STATE_CONNECTING || mConnectionState == STATE_CONNECTED) && mError == 0 && !mAborted)
1547
mLock.wait();
1548
}
1549
} catch (final InterruptedException e) {
0 commit comments