Compare these two destroy methods. I think the AbstractStore.isDestroyed property setting should be moved below the onDestroy call.


Code:



Ext.define('Ext.Component', {
...
destroy: function() {
...
me.onDestroy();
...
me.isDestroyed = true;
...
},
...
****************************
Ext.define('Ext.data.AbstractStore', {
...
destroy: function() {
...
me.isDestroyed = true; // <--- move below onDestroy?
...
me.onDestroy();
}
...