FIX: If we are scheduled after being torn down don't do anything

This commit is contained in:
Robin Ward 2014-12-03 15:52:34 -05:00
parent 5f2c746853
commit ead073bd87
1 changed files with 3 additions and 0 deletions

View File

@ -329,6 +329,9 @@
}, },
updateChildView: function () { updateChildView: function () {
// If the element has been destroyed before this call occurs
if (!this) { return; }
this._scheduled = false; this._scheduled = false;
if (!this._elementCreated || this.isDestroying || this.isDestroyed) { return; } if (!this._elementCreated || this.isDestroying || this.isDestroyed) { return; }