This repository was archived by the owner on Apr 17, 2019. It is now read-only.
This repository was archived by the owner on Apr 17, 2019. It is now read-only.
addSubscription / removeSubscription methods question #149
Open
Description
In MeteorClient.m, removeSubscriptions: returns immediately if it's not okay to send. But in addSubscription: it first adds to the _subscriptions and _subscriptionsParameters dictionary before checking if it's okay to send.
In the case of no connection, after calling addSubscription:
-This ends up allowing for a later callback for a subscription that shouldn't exist (when connection is established).
-Or if removeSubscription: is called, it still allows for the callback (when connection is established).
Please let me know if I am/not reading this correctly. This scenario is causing my callback to function when I wouldn't think it would, since it's not allowing me to remove the subscription.
Metadata
Metadata
Assignees
Labels
No labels