Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Having a lot of trouble with controllers not being destroyed

$
0
0

@stevenhastie wrote:

I've literally tried every clearCache solution under the sun. Nothing works

My controllers are persisting and I cannot destroy them.

I can see they are still there because when I log out in the account tab it unAuths from firebase and I can see console logs that I have set in other controllers to check if the user is logged in or not.

Even when I set the cache value of the states to false the controllers are still available in the background.

If I log in and check a few tabs and log out then log in as another user, as soon as I log in it fires all console.logs I have in the controllers for the views I previously looked at when logged in as the initial user.

I'm at a loss of what to try to fix this issue and could really use some help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>