From efb6cb81642e3598229cc54cbacd4353410d5981 Mon Sep 17 00:00:00 2001 From: cuu Date: Tue, 21 Aug 2018 21:26:26 +0800 Subject: [PATCH] ... --- Menu/GameShell/10_Settings/Bluetooth/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Menu/GameShell/10_Settings/Bluetooth/__init__.py b/Menu/GameShell/10_Settings/Bluetooth/__init__.py index 78ec873..7c7c552 100644 --- a/Menu/GameShell/10_Settings/Bluetooth/__init__.py +++ b/Menu/GameShell/10_Settings/Bluetooth/__init__.py @@ -611,6 +611,11 @@ class BluetoothPage(Page): if event.key == CurKeys["A"] or event.key == CurKeys["Menu"]: if self._Adapter != None: + try: + self._Adapter.StopDiscovery() + except Exception,e: + print(str(e)) + _connecting = self.CheckIfBluetoothConnecting() if _connecting: self.ShutDownConnecting()