import Ember from 'ember';

export default Ember.Mixin.create({

  willDestroy() {
    this._destroyInternalModelIdentity();
    this._destroySecurity();
    this._super();
  }

});

import Ember from 'ember';

export default Ember.Mixin.create({

  willDestroy() {
    this._destroyInternalChangesIdentity();
    this._destroyInternalModelIdentity();
    this._destroySecurity();
    this._super();
  }

});

destroy internalChangesIdentity on db destroy