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 a0a6371 commit cfc7aa4Copy full SHA for cfc7aa4
arduino/discovery/discovery.go
@@ -342,7 +342,7 @@ func (disc *PluggableDiscovery) Stop() error {
342
}
343
disc.statusMutex.Lock()
344
defer disc.statusMutex.Unlock()
345
- // TODO: Should we clear cached ports here?
+ disc.cachedPorts = map[string]*Port{}
346
if disc.eventChan != nil {
347
close(disc.eventChan)
348
disc.eventChan = nil
0 commit comments