-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you provide a way to completely clean data #67
Comments
There was a bit of discussion here: #62 In general, the recommended way is to release all of your data providers. This will in turn cause the listeners on the consistency manager to drop to zero. It seems like maybe you have data providers that stick around even after logging out? One other work around is to have all data providers listen to a notificaiton:
^^ pseudo code, but you get the idea Finally, the This will basically cause all data providers that are hanging around to be useless (I think until they get new data), but possibly this could help? |
Otherwise, what's exactly the expected behavior? Do you want all data providers to nil out? Or something similar? |
Thanks for your input. Currently, when I user logged out, we |
Hi, I'm writing an application that provide different content for logged in and non-logged in users. So each time user login/logout, I need to completely clean all data from RocketData.
Currently, I'm using
removeAllObjects
of PINCache. But it may cause problem withConsistencyManager
.Can you provide an easy way to completely clean data? Thank you!
The text was updated successfully, but these errors were encountered: