Skip to content

Commit e1f7eb7

Browse files
committed
Merge branch 'bugfix/ble_gatt_close' into 'master'
bugfix: gatt client leak See merge request idf/esp-idf-provisioning-android!67
2 parents f8b5085 + 5007856 commit e1f7eb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provisioning/src/main/java/com/espressif/provisioning/transport/BLETransport.java

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ public void disconnect() {
151151

152152
if (this.bluetoothGatt != null) {
153153
this.bluetoothGatt.disconnect();
154+
this.bluetoothGatt.close();
154155
bluetoothGatt = null;
155156
}
156157
}

0 commit comments

Comments
 (0)