+ if( this.instanceOf( X.EventDispatcher ) ){\r
+ if( !def.isPrivate ){\r
+ if( this._dispatching ){\r
+ this.dispatch( X.Event.BEFORE_KILL_INSTANCE );\r
+ this._killReserved = true;\r
+ this.dispatch( X.Event.KILL_INSTANCE_CANCELED );\r
+ return;\r
+ } else\r
+ if( this.dispatch( X.Event.BEFORE_KILL_INSTANCE ) & X.Callback.PREVENT_DEFAULT ){\r
+ this.dispatch( X.Event.KILL_INSTANCE_CANCELED );\r
+ return;\r
+ };\r
+ };\r
+ this.dispatch( X.Event.BEFORE_KILL_INSTANCE );\r
+ this.dispatch( X.Event.KILL_INSTANCE );\r
+ this._listeners && this.unlisten();\r
+ } else\r