|
|
@ -762,7 +762,8 @@ export default Backbone.Model.extend({ |
|
|
AssetManager, |
|
|
AssetManager, |
|
|
BlockManager, |
|
|
BlockManager, |
|
|
CodeManager, |
|
|
CodeManager, |
|
|
Commands |
|
|
Commands, |
|
|
|
|
|
DeviceManager |
|
|
} = this.attributes; |
|
|
} = this.attributes; |
|
|
this.stopDefault(); |
|
|
this.stopDefault(); |
|
|
DomComponents.clear(); |
|
|
DomComponents.clear(); |
|
|
@ -777,6 +778,7 @@ export default Backbone.Model.extend({ |
|
|
BlockManager.destroy(); |
|
|
BlockManager.destroy(); |
|
|
CodeManager.destroy(); |
|
|
CodeManager.destroy(); |
|
|
Commands.destroy(); |
|
|
Commands.destroy(); |
|
|
|
|
|
DeviceManager.destroy(); |
|
|
this.view.remove(); |
|
|
this.view.remove(); |
|
|
this.stopListening(); |
|
|
this.stopListening(); |
|
|
this.clear({ silent: true }); |
|
|
this.clear({ silent: true }); |
|
|
|