Memory leak?#67
Conversation
|
I haven't found anything promising yet. You can replicate it on the demo page. |
|
The problem is each page load keeps creating a new page rather than going back to a page already created. This plugin is so buggy. |
|
Each time you leave a route, it destroys the previous scope and element, On Tue, Jul 23, 2013 at 9:29 AM, Nick notifications@github.com wrote:
|
|
Yeah, it's not quite that simple @NickyYo. @ajoslin what's the reasoning for storing
I've removed the Memory management seems to be better, so I'll send you a pull request later. |
|
Hmm good point there.. Think il do the same Brandly. |
|
Thanks so much Matt!! :-) On Wednesday, July 24, 2013, Nick wrote:
...sent from my iPhone |
|
This is the code we're currently using, and it seems to be working well. @ryngonzalez and I both worked on the changes, so let us know what you think. |
|
LGTM besides that one thing. I wish we had unit tests!!! Back when I made this I didn't do tests much... If you want to add unit tests matt you'd be king of everything :-p But it's not very testable right now anyway. I'll merge it after the one thing I commented :-) |
|
...and the purpose of cancel was if you are changing pages while a transition is going, it would immediately finish the last transition for you. But that is fixed now with the for loop you added. |
|
Even after updating Angular, I'm still getting a |
|
You're trying to inject $sniffer into the provider area, but the provider injection only accepts other providers. $sniffer is a normal service not a provider, so you inject it in |
|
+1 👍 |
|
@brandly navigation works. However the scopes inside my controllers seem to be lost when navigating. Instead of data I get just {{ data }} in my views. |
|
Are you navigating back via $navigate.back() or the browser's back button? On Sunday, August 4, 2013, ArtworkAD wrote:
|
|
@brandly nevermind works now, it was an android specific problem 😋 |
If you check out memory usage on the Timeline tab in Chrome dev tools, every page transition seems to allot more memory. Occasionally, you'll see memory usage drop a bit, but it seems really inconsistent.
I'm going to dig through the code, but I wanted to see if you knew anything about this first.