You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a component that uses the resize modifier. In an acceptance test of a page where this component is used, it's a simple visit with a pair of asserts. However I get a failure on the test because of an error: Can not call `.lookup` after the owner has been destroyed which is pointing at this line.
Forking the repo and updating to latest Ember doesn't reproduce the issue locally with the tests here, so I'm not sure if it's something on the app side or the modifier side. However, adding if (!this.owner.isDestroyed) to the front of the line fixes my test, fwiw.
The text was updated successfully, but these errors were encountered:
@mastastealth are you seeing this in an engine? I am experiencing the same error in a engine (here's a repro), but have not been able to repro in an app that doesn't use engines.
I have a component that uses the resize modifier. In an acceptance test of a page where this component is used, it's a simple
visit
with a pair of asserts. However I get a failure on the test because of an error:Can not call `.lookup` after the owner has been destroyed
which is pointing at this line.Forking the repo and updating to latest Ember doesn't reproduce the issue locally with the tests here, so I'm not sure if it's something on the app side or the modifier side. However, adding
if (!this.owner.isDestroyed)
to the front of the line fixes my test, fwiw.The text was updated successfully, but these errors were encountered: