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

guard against __setDefaultValues being called during teardown #153

Merged
merged 1 commit into from
Sep 16, 2016
Merged

guard against __setDefaultValues being called during teardown #153

merged 1 commit into from
Sep 16, 2016

Conversation

Dhaulagiri
Copy link
Contributor

This restores a guard that used to exist around trying to set a default value while the component is being torn down. The changes from #152 made this necessary again as this.get('value') is null during teardown which was causing bad things to happen.

@Robdel12
Copy link
Collaborator

Robdel12 commented Sep 16, 2016

Looks good to me once tests pass. Thank for the PR again :D

@Robdel12 Robdel12 merged commit da7f304 into adopted-ember-addons:master Sep 16, 2016
@Dhaulagiri Dhaulagiri deleted the br-safety-first branch September 16, 2016 21:04
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.

2 participants