We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc982cd commit 304c7a0Copy full SHA for 304c7a0
nanoFirmwareFlasher.Library/NanoDeviceOperations.cs
@@ -1,4 +1,4 @@
1
-////
+////
2
// Copyright (c) .NET Foundation and Contributors
3
// See LICENSE file in the project root for full license information.
4
////
@@ -54,7 +54,7 @@ public ObservableCollection<NanoDeviceBase> ListDevices(bool getDeviceDetails)
54
{
55
_ = device.DebugEngine.Connect(
56
false,
57
- true);
+ false);
58
59
// check that we are in CLR
60
if (device.DebugEngine.IsConnectedTonanoCLR)
@@ -82,6 +82,8 @@ public ObservableCollection<NanoDeviceBase> ListDevices(bool getDeviceDetails)
82
// no need to report this, just move on
83
}
84
85
+
86
+ device.Disconnect(true);
87
88
89
0 commit comments