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

Correctly close websocket API connection #142

Merged
merged 1 commit into from
Jul 19, 2019
Merged

Conversation

abitmore
Copy link
Member

The websocket_api_connection object and websocket_connection object each holds a shared_ptr to the other. This PR release one of the shared_ptr when the connection is closed, so the destructor functions would be called.

For bitshares/bitshares-core#1852.

Copy link

@jmjatlanta jmjatlanta left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks!

@jmjatlanta jmjatlanta merged commit cd49944 into master Jul 19, 2019
@abitmore abitmore deleted the fix-api-close branch August 21, 2019 15:18
@abitmore abitmore added this to the core-release-3.2.1 milestone Aug 21, 2019
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