Skip to content

socket.kickOut fails #49

Open
Open
@MegaGM

Description

@MegaGM

socket.kickOut() with no arguments provided fails to unsubscribe the socket from channels.

await socket.exchange.invokePublish('foo', 1)
socket.kickOut()
await sleep(300)
await socket.exchange.invokePublish('foo', 2)

Client receives #kickOut but still receives the second message after that.
socketcluster-server v14 and v17 exhibit the same behavior.

Slightly related #29

Metadata

Metadata

Assignees

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