Skip to content

Commit

Permalink
use willDestroy in stead of destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
pieter-v committed Aug 13, 2018
1 parent bc3194e commit a4ae1c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-runtime/lib/mixins/-proxy.js
Expand Up @@ -61,9 +61,9 @@ export default Mixin.create({
m.writableTag(() => combine([DirtyableTag.create(), UpdatableTag.create(CONSTANT_TAG)]));
},

destroy() {
this._super(...arguments);
willDestroy() {
this.set('content', null);
this._super(...arguments);
},

isTruthy: computed('content', function() {
Expand Down

0 comments on commit a4ae1c4

Please sign in to comment.