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