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

RXI-880 fix shutdown issues #89

Merged
merged 1 commit into from
Jan 26, 2024
Merged

RXI-880 fix shutdown issues #89

merged 1 commit into from
Jan 26, 2024

Conversation

oleks-rip
Copy link
Collaborator

@oleks-rip oleks-rip commented Jan 24, 2024

wsClient has shared_ptr to ChainListener, so during shutdown these 2 objects did not destroyed and would use some functional of the destroyed objects. Which may lead to crash.
The crash can be reproduced if add sleep(1) to main() just before exit

@seelabs seelabs merged commit e9e6253 into ripple:main Jan 26, 2024
1 of 2 checks passed
@oleks-rip oleks-rip deleted the shutdown_fix branch May 8, 2024 16:07
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.

2 participants