Skip to content

Add entry-cleaning up behavior when stream got dropped - #218

Open
solus161 wants to merge 1 commit into
aimdb-dev:mainfrom
solus161:feat/fix_bug_ws_subscriptions_206
Open

Add entry-cleaning up behavior when stream got dropped#218
solus161 wants to merge 1 commit into
aimdb-dev:mainfrom
solus161:feat/fix_bug_ws_subscriptions_206

Conversation

@solus161

Copy link
Copy Markdown
Contributor

Description

What's new:

  • Add a guard for SubEntry for RAII behavior. Also update stream in ClientManager.subscribe() to take in the guard and the Receiver;
  • Add test for the entry-cleaned-up behavior when stream is dropped;

Related Issue

Checklist

  • I have read the CONTRIBUTING.md document.
  • My code follows the project's coding standards.
  • I have added tests to cover my changes.
  • All new and existing tests passed (make check).
  • I have updated the documentation accordingly.

@solus161
solus161 requested a review from lxsaah as a code owner August 16, 2026 02:40
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.

[BUG] Dropped WS subscriptions remain registered until a matching broadcast

1 participant