@ni/nimble-components 18.1.3 → 18.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26730,6 +26730,13 @@
26730
26730
  super.connectedCallback();
26731
26731
  this.customCellView = this.cellTemplate?.render(this.cellState, this.cellContentContainer);
26732
26732
  }
26733
+ disconnectedCallback() {
26734
+ super.disconnectedCallback();
26735
+ if (this.customCellView) {
26736
+ this.customCellView.dispose();
26737
+ this.customCellView = undefined;
26738
+ }
26739
+ }
26733
26740
  cellStateChanged() {
26734
26741
  this.customCellView?.bind(this.cellState, defaultExecutionContext);
26735
26742
  }