Skip to content
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

Bugfix/panic on shutdown #833

Merged
merged 5 commits into from
Jul 7, 2021
Merged

Bugfix/panic on shutdown #833

merged 5 commits into from
Jul 7, 2021

Conversation

mrpalide
Copy link
Contributor

@mrpalide mrpalide commented Jul 5, 2021

Did you run make format && make check? Yes

Fixes #828

Changes:

  • For closing address_resolver we pass all clients (STCP, STCPR, SUDPH), but because of the same sudphConn for those, the race condition happens sometimes and trying to close the closed channel and get panic. Because of the same sudphConn, the concurrent process to closing clients without race condition is impossible, so I change concurrently to a normal process (as a queue of clients).

How to test this PR:

@CLAassistant
Copy link

CLAassistant commented Jul 5, 2021

CLA assistant check
All committers have signed the CLA.

@jdknives jdknives merged commit a663372 into skycoin:develop Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants