Skip to content

Commit

Permalink
Close on shutdown, for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 8, 2018
1 parent e4c9806 commit 1e728f5
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -624,6 +624,8 @@ public void setFrozen(boolean frozen) {

@Override
public void shutdown() {
close();

BluetoothGatt g = mGatt;
if (g != null) {
g.disconnect();
Expand Down

0 comments on commit 1e728f5

Please sign in to comment.