I work in a navigation view. In this navigation view, you can stumble on a profile page.In this profile page you can see others profiles related to the current profile (basically pictures displayed in a dataview). You can navigate to other profile views by taping on these profiles.
Every time, the user click on a profile pictures, I create a new instance of the profile view and a new instance of the profile store.
Now, what I want to do, when the user goes back, (so when the view is popped) is delete the instance of the store associated to the instance of the profile view.
I already know when and how to delete the view, I just want to know how to delete the store and any reference to it.
Update : StoreManager
I just discovered the Ext.StoreManager.unregister function. Is it enough or is there something that should be done, to release the store (in order to free memory)?
http://docs.sencha.com/touch/2-0/#!/api/Ext-method-getStore