mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-30 00:47:01 +00:00
Close on shutdown, for consistency
This commit is contained in:
parent
e4c9806f4f
commit
1e728f5075
|
@ -624,6 +624,8 @@ class HIDDeviceBLESteamController extends BluetoothGattCallback implements HIDDe
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void shutdown() {
|
public void shutdown() {
|
||||||
|
close();
|
||||||
|
|
||||||
BluetoothGatt g = mGatt;
|
BluetoothGatt g = mGatt;
|
||||||
if (g != null) {
|
if (g != null) {
|
||||||
g.disconnect();
|
g.disconnect();
|
||||||
|
|
Loading…
Reference in a new issue