Skip to content
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

Should it detect something like window.leakMe = this? #45

Open
raido opened this issue Jun 18, 2021 · 0 comments
Open

Should it detect something like window.leakMe = this? #45

raido opened this issue Jun 18, 2021 · 0 comments

Comments

@raido
Copy link

raido commented Jun 18, 2021

I've tried this addon on two of my apps and for both it reported "No memory leaks detected".

Not being confident on the outcome, i then tried to retain ApplicationRoute on Window object to see if it detects that, like so:

class ApplicationRoute extends Route() {
  init() {
   window.leakMe = this;
  }
}

And to my surprise no leaks where detected. 🤔

Any tips on how to verify detection actually works as expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant