Close on shutdown, for consistency
authorSam Lantinga <slouken@libsdl.org>
Mon, 08 Oct 2018 12:49:28 -0700
changeset 12307461ef7221483
parent 12306 094a25b0d812
child 12308 4e3b4ddb8787
Close on shutdown, for consistency
android-project/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java
     1.1 --- a/android-project/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java	Mon Oct 08 12:49:26 2018 -0700
     1.2 +++ b/android-project/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java	Mon Oct 08 12:49:28 2018 -0700
     1.3 @@ -624,6 +624,8 @@
     1.4  
     1.5      @Override
     1.6      public void shutdown() {
     1.7 +        close();
     1.8 +
     1.9          BluetoothGatt g = mGatt;
    1.10          if (g != null) {
    1.11              g.disconnect();