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

refactor: refactor weak session implementation #1641

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wyfo
Copy link
Contributor

@wyfo wyfo commented Dec 8, 2024

The previous implementation of WeakSession relied on a weak counter
wrapped in a mutex. It was unnecessarily complex, as an atomic
strong counter does the job better.

@wyfo wyfo added the internal Changes not included in the changelog label Dec 8, 2024
The previous implementation of `WeakSession` relied on a weak counter
 wrapped in a mutex. It was unnecessarily complex, as an atomic
 strong counter does the job better.
@wyfo wyfo force-pushed the refactor/weak_session branch from da76630 to 68f2458 Compare December 9, 2024 13:30
@wyfo wyfo changed the title refactor: allows retrieving a session ref from a weak-session refactor: refactor weak session implementation Dec 9, 2024
@wyfo wyfo requested a review from OlivierHecart December 9, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes not included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant