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

ConnectedNode: Dispose node properly #10674

Merged

Conversation

kiminuo
Copy link
Collaborator

@kiminuo kiminuo commented May 11, 2023

This PR contributes to #10155 but it's not a complete fix.

On master, the app does not terminate on regtest for me. With this PR, it does1. See #10155 (comment). What this PR fixes is the connection to the local bitcoin fullnode. #10668 goes much deeper than this PR as it attempts to fix the issue with remote P2P nodes.

Footnotes

  1. Don't ask how many hours it took to write this one-line fix. :-|

Copy link
Collaborator

@adamPetho adamPetho left a comment

Choose a reason for hiding this comment

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

With this, I cannot reproduce the hanging process on exit. Not even on RegTest. 🎉

@kiminuo kiminuo requested a review from soosr May 12, 2023 09:16
@kiminuo kiminuo marked this pull request as ready for review May 12, 2023 09:16
Copy link
Collaborator

@soosr soosr left a comment

Choose a reason for hiding this comment

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

tACK

@kiminuo kiminuo merged commit d088c2a into zkSNACKs:master May 15, 2023
7 checks passed
@kiminuo kiminuo deleted the feature/2023-05-11-missing-node-dispose branch May 15, 2023 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants