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

View file

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