-
Notifications
You must be signed in to change notification settings - Fork 45
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: panic due to closed channel #1115
Conversation
Jenkins BuildsClick to see older builds (5)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why the change from chan struct{}
to chan bool
but other than that, LGTM!
Hmm, i think i can revert back now since i had moved to a method with a lock. |
Description
Noticed while dogfooding status-desktop with new filter-mgmt changes that sometimes shutdown/cleanup is causing a panic due to double close on channel. Below is backtrace.
Modified strategy to not close closing channel rather use a bool channel so that even parallel close doesn't cause panic.