Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

attempt to fix disconnect crash #945

Merged
merged 1 commit into from
Mar 28, 2018

Conversation

joequant
Copy link
Contributor

This patch changes the socket pointers to shared ptrs which will should
not be released if there is a call to async_write during a delete.
This is a fix for #929 #892 #890 and #887

This patch changes the socket pointers to shared ptrs which will should
not be released if there is a call to async_write during a delete.
This is a fix for ethereum-mining#929 ethereum-mining#892 ethereum-mining#890 and ethereum-mining#887
@chfast chfast requested review from jean-m-cyr and smurfy March 27, 2018 21:38
Copy link
Contributor

@jean-m-cyr jean-m-cyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good. Tested and seems to solve reconnect crashes as well as simillar issues with Ctl-C.

@chfast
Copy link
Contributor

chfast commented Mar 28, 2018

Great!!

@chfast chfast merged commit fe98290 into ethereum-mining:master Mar 28, 2018
@efrasyad
Copy link

@chfast is this already included in the latest appveyor artifact?
seems like this fixed my issue since using 014 dev4 releases.

@chfast
Copy link
Contributor

chfast commented Mar 29, 2018

Yes. Include in the last RC

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants