mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
Close on shutdown, for consistency
This commit is contained in:
@@ -624,6 +624,8 @@ class HIDDeviceBLESteamController extends BluetoothGattCallback implements HIDDe
|
||||
|
||||
@Override
|
||||
public void shutdown() {
|
||||
close();
|
||||
|
||||
BluetoothGatt g = mGatt;
|
||||
if (g != null) {
|
||||
g.disconnect();
|
||||
|
||||
Reference in New Issue
Block a user