Skip to content

Commit

Permalink
Merge branch 'bugfix/ble_gatt_close' into 'master'
Browse files Browse the repository at this point in the history
bugfix: gatt client leak

See merge request idf/esp-idf-provisioning-android!67
  • Loading branch information
adwait-esp committed Apr 11, 2024
2 parents f8b5085 + 5007856 commit e1f7eb7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ public void disconnect() {

if (this.bluetoothGatt != null) {
this.bluetoothGatt.disconnect();
this.bluetoothGatt.close();
bluetoothGatt = null;
}
}
Expand Down

0 comments on commit e1f7eb7

Please sign in to comment.