From 0039876866ca873065cbbc53892bcda84bdba6b3 Mon Sep 17 00:00:00 2001 From: yangyakun Date: Wed, 27 Nov 2024 18:40:36 +0800 Subject: [PATCH] =?UTF-8?q?[6.8.0]=20[fix]=20[=E5=86=99=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E5=90=8E=E4=B9=9F=E9=87=8D=E6=96=B0=E6=90=9C=E7=B4=A2=E5=86=99?= =?UTF-8?q?=E5=85=A5]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/module/manager/bluetooth/OchBluetoothGattCallback.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OCH/common/common/src/main/java/com/mogo/och/common/module/manager/bluetooth/OchBluetoothGattCallback.kt b/OCH/common/common/src/main/java/com/mogo/och/common/module/manager/bluetooth/OchBluetoothGattCallback.kt index 5289010d56..51f6316306 100644 --- a/OCH/common/common/src/main/java/com/mogo/och/common/module/manager/bluetooth/OchBluetoothGattCallback.kt +++ b/OCH/common/common/src/main/java/com/mogo/och/common/module/manager/bluetooth/OchBluetoothGattCallback.kt @@ -142,7 +142,7 @@ class OchBluetoothGattCallback(device: BluetoothDevice) : BluetoothGattCallback( if(waitSendData.isEmpty()){ RxUtils.disposeSubscribe(timeoutCLose) timeoutCLose = RxUtils.createSubscribeOnOwnThread(10_000) { - closeConn(true) + closeAndDestory(true) } } }else{