-
Notifications
You must be signed in to change notification settings - Fork 11
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
Potential Leak #17
Comments
Nothing. Is there an uninitialize hook I can use to remove it? |
unfortunately not, it would be really nice if initializers had deinitializers. Especially for test run related cleanup. My typical approach is to do the cleanup when the app is destroyed cc @dgeb |
Does |
right now it requires a reopen + willDestroy or destroy override + super to work correctly, which is extremely crappy :sadpanda: |
Okay, I think this is a NOOP. Registering a global is inherently dirty anyway, it's only supported for convenience during development. |
This leaks an app during tests, which means it masks other leaks when hunting for leaks. I believe the reopen is crappy, but fine until we support something better. |
I see. Okay, how can I do the reopen? |
Oh man that's not nice. Okay I'll do it when I get back to the office (with
|
Did he make it back to the office? 😨 |
what uninstalls this from the global.
https://github.com/aexmachina/ember-devtools/blob/master/app/instance-initializers/ember-devtools.js#L14
The text was updated successfully, but these errors were encountered: