Skip to content

Use WeakPtr for Socket in Miso.Runtime. #1114

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Use WeakPtr for Socket in Miso.Runtime. #1114

wants to merge 5 commits into from

Conversation

dmjio
Copy link
Owner

@dmjio dmjio commented Aug 17, 2025

This ensures that connections are purged from the connection IntMap in Miso.Runtime when the connection token goes out of scope in the user's application code.

@dmjio dmjio force-pushed the weak-ptr branch 3 times, most recently from b7d3f6a to 0de2388 Compare August 17, 2025 01:18
This ensures that connections are purged from the connection maps in
`Miso.Runtime` when the connection token goes out of scope in the user's application code.
@dmjio dmjio marked this pull request as draft August 17, 2025 10:47
@dmjio dmjio force-pushed the weak-ptr branch 2 times, most recently from 6afa6f6 to cff7c07 Compare August 17, 2025 18:22
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