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 some concurrency bugs #15

Merged
merged 4 commits into from
Sep 29, 2024
Merged

Fix some concurrency bugs #15

merged 4 commits into from
Sep 29, 2024

Conversation

JamesWrigley
Copy link
Collaborator

See the commit messages for details.

This is quite a silly mistake, if we don't wait for the client listener task to
finish before closing the session it might try to do things with the
session (e.g. executing some last callbacks) after the session has already been
free'd.
@JamesWrigley JamesWrigley self-assigned this Sep 29, 2024
Copy link

codecov bot commented Sep 29, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

The type is meant to be able to safely be closed from other tasks/threads so it
should be protected with a lock.
@JamesWrigley JamesWrigley merged commit 972f552 into master Sep 29, 2024
6 checks passed
@JamesWrigley JamesWrigley deleted the concurrency branch September 29, 2024 12:53
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