Firebase Team AMAView other answers to this thread
I am building a web app using React+Redux+Firebase. Problem is when I do logout, it doesn't remove all realtime database listeners and causes some permission warnings because the user is not allowed to read/write the database when he's not logged in.
How do I remove all listeners of the realtime database at once? Can it be a reason of memory leak?