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

small cleanup of eachDestroyable #15010

Merged
merged 3 commits into from
Mar 15, 2017

Conversation

bekzod
Copy link
Contributor

@bekzod bekzod commented Mar 14, 2017

Since utility function eachDestroyable iterates destroyable items, and most of the time probably destroyable items iterated to be destroyed, I think it is better to destroy them immediately.
Free to reject if I am misunderstanding something :P

@stefanpenner
Copy link
Member

@bekzod looks good!

@bekzod
Copy link
Contributor Author

bekzod commented Mar 14, 2017

will be it too much if I change shouldInstantiate -> isInstantiatable ?

@stefanpenner
Copy link
Member

will be it too much if I change shouldInstantiate -> isInstantiatable ?

nope, sounds good.

@stefanpenner
Copy link
Member

@homu r+

@homu
Copy link
Contributor

homu commented Mar 14, 2017

📌 Commit dc2abee has been approved by stefanpenner

@homu
Copy link
Contributor

homu commented Mar 14, 2017

⌛ Testing commit dc2abee with merge c9ac6ee...

homu added a commit that referenced this pull request Mar 14, 2017
small cleanup of eachDestroyable

Since utility function `eachDestroyable` iterates  destroyable items, and most of the time probably destroyable items iterated to be destroyed, I think it is better to destroy them immediately.
Free to reject if I am misunderstanding something :P
@homu
Copy link
Contributor

homu commented Mar 14, 2017

💥 Test timed out

@stefanpenner
Copy link
Member

@homu retry

@homu
Copy link
Contributor

homu commented Mar 14, 2017

⌛ Testing commit dc2abee with merge 8a8c9ae...

homu added a commit that referenced this pull request Mar 14, 2017
small cleanup of eachDestroyable

Since utility function `eachDestroyable` iterates  destroyable items, and most of the time probably destroyable items iterated to be destroyed, I think it is better to destroy them immediately.
Free to reject if I am misunderstanding something :P
@homu
Copy link
Contributor

homu commented Mar 14, 2017

💥 Test timed out

@homu
Copy link
Contributor

homu commented Mar 14, 2017

☔ The latest upstream changes (presumably #15014) made this pull request unmergeable. Please resolve the merge conflicts.

@stefanpenner
Copy link
Member

needs rebase I believe

@bekzod
Copy link
Contributor Author

bekzod commented Mar 15, 2017

rebased :)

@stefanpenner stefanpenner merged commit e5a6fa0 into emberjs:master Mar 15, 2017
@bekzod bekzod deleted the destroy-destroyables branch March 16, 2017 18:21
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.

3 participants