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

Fix disconnect race crash. #147

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Fix disconnect race crash. #147

merged 1 commit into from
Dec 27, 2024

Conversation

gkoh
Copy link
Owner

@gkoh gkoh commented Dec 27, 2024

It was possible for the Target object to be destructed before it stopped.
This manifested as a crash when freed memory was accessed. Add a flag to wait and check.

It was possible for the Target object to be destructed before it
stopped.
This manifested as a crash when freed memory was accessed.
Add a flag to wait and check.
@gkoh gkoh merged commit bb4b632 into master Dec 27, 2024
6 checks passed
@gkoh gkoh deleted the fix-disconnect-race branch December 27, 2024 02:37
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.

1 participant