Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Unsubscribing issue in Broadcast class #108

@mdi80

Description

@mdi80

Hi,

I was working with your Broadcast class and noticed a bug related to websocket disconnection. In the subscribe method of the Broadcast class, when a user disconnects from the websocket, the code after yield Subscriber(queue) will never execute. This could potentially lead to increased memory usage if items are never removed from the _subscribers dictionary.

Thank you for your great code!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions