mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-13 04:12:00 +10:00
clean
This commit is contained in:
committed by
just-stuff-tm
parent
367e47bb1e
commit
524558c511
@@ -748,7 +748,10 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
try {
|
||||
await FlutterBluePlus.stopScan();
|
||||
} catch (e) {
|
||||
debugPrint('[FBP] stopScan error in startScan (ignored): $e');
|
||||
_appDebugLogService?.warn(
|
||||
'stopScan error in startScan (ignored): $e',
|
||||
tag: 'BLE Scan',
|
||||
);
|
||||
}
|
||||
}
|
||||
await _scanSubscription?.cancel();
|
||||
@@ -808,7 +811,10 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
try {
|
||||
await FlutterBluePlus.stopScan();
|
||||
} catch (e) {
|
||||
debugPrint('[FBP] stopScan error (ignored): $e');
|
||||
_appDebugLogService?.warn(
|
||||
'stopScan error (ignored): $e',
|
||||
tag: 'BLE Scan',
|
||||
);
|
||||
}
|
||||
}
|
||||
await _scanSubscription?.cancel();
|
||||
|
||||
Reference in New Issue
Block a user