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

[Bugfix BETA] App.destroy resets routes before destroying the container. #4290

Merged
merged 1 commit into from Feb 2, 2014

Conversation

jandet-zz
Copy link

While testing it is common to create an App during setup and destroy it during
teardown. To prevent ordering issues, routes should be destroyed before the
container is destroyed. This behavior already exists in App.reset but should
also exist in App.destroy.

While testing it is common to create an App during setup and destroy it during
teardown.  To prevent ordering issues, routes should be destroyed before the
container is destroyed.  This behavior already exists in App.reset but should
also exist in App.destroy.
@jandet-zz
Copy link
Author

Fixes stefanpenner/ember-app-kit#437

@stefanpenner
Copy link
Member

👍

stefanpenner added a commit that referenced this pull request Feb 2, 2014
[Bugfix BETA] App.destroy resets routes before destroying the container.
@stefanpenner stefanpenner merged commit 461225c into emberjs:master Feb 2, 2014
@rwjblue
Copy link
Member

rwjblue commented Feb 2, 2014

Merged into beta branch.

@stefanpenner
Copy link
Member

@rjackson thanks

@stefanpenner stefanpenner deleted the willDestroy_reset_router branch February 2, 2014 23:32
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

Successfully merging this pull request may close these issues.

None yet

4 participants