diff --git a/lib/adapters/stable-adapter.js b/lib/adapters/stable-adapter.js index fcdc7e3c..15d63d01 100644 --- a/lib/adapters/stable-adapter.js +++ b/lib/adapters/stable-adapter.js @@ -123,6 +123,7 @@ module.exports = class StableAdapter { editorDestroyed () { return !this.textEditor || this.textEditor.isDestroyed() || + !this.textEditorElement.component || !this.textEditorElement.getModel() || !this.textEditorElement.parentNode }