|
|
@ -764,7 +764,8 @@ export default Backbone.Model.extend({ |
|
|
CodeManager, |
|
|
CodeManager, |
|
|
Commands, |
|
|
Commands, |
|
|
DeviceManager, |
|
|
DeviceManager, |
|
|
I18n |
|
|
I18n, |
|
|
|
|
|
Modal |
|
|
} = this.attributes; |
|
|
} = this.attributes; |
|
|
this.stopDefault(); |
|
|
this.stopDefault(); |
|
|
DomComponents.destroy(); |
|
|
DomComponents.destroy(); |
|
|
@ -781,6 +782,7 @@ export default Backbone.Model.extend({ |
|
|
Commands.destroy(); |
|
|
Commands.destroy(); |
|
|
DeviceManager.destroy(); |
|
|
DeviceManager.destroy(); |
|
|
I18n.destroy(); |
|
|
I18n.destroy(); |
|
|
|
|
|
Modal.destroy(); |
|
|
this.view.remove(); |
|
|
this.view.remove(); |
|
|
this.stopListening(); |
|
|
this.stopListening(); |
|
|
this.clear({ silent: true }); |
|
|
this.clear({ silent: true }); |
|
|
|