Skip to content

UNSUBSCRIBE from a unsubscribed channel doesn't trigger callback #738

Open
@dlee-libo

Description

@dlee-libo

The current implementation doesn't keep a callback for UNSUBSCRIBE command, the reason from the code base comments is that: every channel will receive an unsubscribe msg.
This design cause two problem:

  1. Callback passed with unsubscribe command never trigged.
  2. If the channel hasn't been subscribed, then we don't have a chance to handle related msg. As no callback for that channel yet.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions