Unverified Commit b9ee6dce authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

[ws client]: unsubscribe direct when subscription is dropped. (#244)

* [ws client]: unsubscribe directly

When a subscription is dropped because of `max_notifs_per_subscription` is exceeded
the client didn't send an `unsubcribe request` until the subscription was dropped which this commit fixes.

This causes the server to still send messages to the subscription and the client would get lots of
error messages `InvalidRequestId`

* address grumbles

* fix: rephrase and not use request everywhere.
parent 19d18bbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment