Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
df27d56a
Unverified
Commit
df27d56a
authored
Nov 25, 2021
by
Silvano Cerza
Committed by
GitHub
Nov 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix panic when discovery doesn't send an ok message after a command (#1569)
parent
dbdca99a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
arduino/discovery/discovery.go
arduino/discovery/discovery.go
+1
-0
No files found.
arduino/discovery/discovery.go
View file @
df27d56a
...
...
@@ -162,6 +162,7 @@ func (disc *PluggableDiscovery) jsonDecodeLoop(in io.Reader, outChan chan<- *dis
// This is fine, we exit gracefully
disc
.
statusMutex
.
Lock
()
disc
.
state
=
Dead
disc
.
incomingMessagesError
=
err
disc
.
statusMutex
.
Unlock
()
close
(
outChan
)
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment