|
@@ -114,6 +114,12 @@ class PluginState extends PluginComponent {
|
|
}
|
|
}
|
|
|
|
|
|
dispose() {
|
|
dispose() {
|
|
|
|
+ this.behaviors.cells.forEach(cell => {
|
|
|
|
+ if (PluginBehavior.Behavior.is(cell.obj)) {
|
|
|
|
+ cell.obj.data.unregister();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
super.dispose();
|
|
super.dispose();
|
|
this.data.dispose();
|
|
this.data.dispose();
|
|
this.behaviors.dispose();
|
|
this.behaviors.dispose();
|