Open jamiechong opened 9 years ago
I get this error when the button component was destroyed within the async promise. Pseudocode example:
{{#if someCondition}} {{em-button default="Submit" on-click="makeAsync"}} {{/if}}
If, while the async code is running someCondition becomes false the button is destroyed and then I get this error. I suggest doing something in the willDestroyElement event of the Ember Component to avoid this.
someCondition
willDestroyElement
I get this error when the button component was destroyed within the async promise. Pseudocode example:
If, while the async code is running
someCondition
becomes false the button is destroyed and then I get this error. I suggest doing something in thewillDestroyElement
event of the Ember Component to avoid this.