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 loop #124

Merged
merged 5 commits into from
Oct 29, 2024
Merged

Fix loop #124

merged 5 commits into from
Oct 29, 2024

Conversation

Sytten
Copy link
Collaborator

@Sytten Sytten commented Oct 26, 2024

Fixes #123

There might be an edge case I am not thinking about, but my reasoning is that if all clients have disconnected then there is no point in keeping the operations alive. Also we keep a clone of the client in all Subscription objects so this means the channel wont be closed until all streams are dropped.

@Sytten Sytten requested a review from obmarg October 26, 2024 03:29
@obmarg
Copy link
Owner

obmarg commented Oct 29, 2024

Nice find. My bad, this was very clearly wrong 🤦

@obmarg obmarg merged commit 8275da5 into obmarg:main Oct 29, 2024
2 checks passed
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.

Actor is blocking the thread on drop
2 participants