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 race condition in awaitConnection #28

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

ThomasDebrunner
Copy link
Contributor

This fixes a race condition, where the _firstConnectionPromise could already be set to null, when we try to get the associated future with future = _first_connection_promise->get_future();.

This was observed in CI on arm64 builds.

@ThomasDebrunner ThomasDebrunner merged commit 4c612dc into main Nov 22, 2023
@ThomasDebrunner ThomasDebrunner deleted the fix-await-connection-race branch December 4, 2023 08:51
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