Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3
Fix panic when dealing with crashing discoveries#50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Otherwise the call to: msg, err := disc.waitMessage(..)may return both msg and err as nil, breaking the contract.
codecov-commenter commentedSep 13, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #50 +/- ##===========================================+ Coverage 16.84% 32.79% +15.95%=========================================== Files 4 4 Lines 374 372 -2 ===========================================+ Hits 63 122 +59+ Misses 294 228 -66- Partials 17 22 +5
Flags with carried forward coverage won't be shown.Click here to find out more. ☔ View full report in Codecov by Sentry. |
fbec7bc
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Previously, a pluggable discovery that crashed at startup would cause the client library to panic.
This PR fixes this problem and cleans up the mutex usage in the library.
Related toarduino/arduino-cli#2665.