@limetech/lime-elements 37.1.0-next.71 → 37.1.0-next.73

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.
@@ -12840,8 +12840,9 @@ const CodeEditor = class {
12840
12840
  this.darkMode.addEventListener('change', this.handleChangeDarkMode);
12841
12841
  }
12842
12842
  disconnectedCallback() {
12843
+ var _a;
12843
12844
  this.observer.unobserve(this.host);
12844
- this.editor.off('change', this.handleChange);
12845
+ (_a = this.editor) === null || _a === void 0 ? void 0 : _a.off('change', this.handleChange);
12845
12846
  this.editor = null;
12846
12847
  this.darkMode.removeEventListener('change', this.handleChangeDarkMode);
12847
12848
  const editorElement = this.host.shadowRoot.querySelector('.editor');