mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-11 19:17:04 +10:00
Remove unawaited background service start during USB connection initialization
This commit is contained in:
committed by
just-stuff-tm
parent
5216e00807
commit
3cef9e81b6
@@ -969,7 +969,6 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
_activeTransport = MeshCoreTransportType.usb;
|
_activeTransport = MeshCoreTransportType.usb;
|
||||||
_activeUsbPortKey = portName;
|
_activeUsbPortKey = portName;
|
||||||
_activeUsbPortLabel = portName;
|
_activeUsbPortLabel = portName;
|
||||||
unawaited(_backgroundService?.start());
|
|
||||||
_setState(MeshCoreConnectionState.connecting);
|
_setState(MeshCoreConnectionState.connecting);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user