We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbe6e11 commit 2deb3e4Copy full SHA for 2deb3e4
ember_debug/utils/base-object.js
@@ -6,7 +6,9 @@ export default class BaseObject {
6
}
7
8
init() {}
9
- willDestroy() {}
+ willDestroy() {
10
+ this.isDestroying = true;
11
+ }
12
13
destroy() {
14
this.willDestroy();
ember_debug/view-debug.js
@@ -152,7 +152,7 @@ export default class extends DebugPort {
152
153
154
send() {
155
- if (this.isDestroying) {
+ if (this.isDestroying || this.isDestroyed) {
156
return;
157
158
0 commit comments