mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
Close on shutdown, for consistency
This commit is contained in:
parent
38086116b8
commit
62ac025f0b
|
|
@ -624,6 +624,8 @@ class HIDDeviceBLESteamController extends BluetoothGattCallback implements HIDDe
|
|||
|
||||
@Override
|
||||
public void shutdown() {
|
||||
close();
|
||||
|
||||
BluetoothGatt g = mGatt;
|
||||
if (g != null) {
|
||||
g.disconnect();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user