Closed antonselyanin closed 1 year ago
This PR fixes "unsubscription" issues during removeSubscription call.
removeSubscription
Steps to reproduce the issues:
client.removeSubscription
The async block inside processUnsubscribe might not witness a strong ref to the subscription object.
async
processUnsubscribe
Thanks!
This PR fixes "unsubscription" issues during
removeSubscription
call.Steps to reproduce the issues:
client.removeSubscription
and immediately nullify your reference to the subscriptionThe
async
block insideprocessUnsubscribe
might not witness a strong ref to the subscription object.