Skip to content

Commit

Permalink
🐛 Fix error raised when a pane is destroyed
Browse files Browse the repository at this point in the history
Fixes #489
  • Loading branch information
abe33 committed Nov 30, 2016
1 parent f975718 commit cdcd269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/adapters/stable-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default class StableAdapter {
editorDestroyed () {
return !this.textEditor ||
this.textEditor.isDestroyed() ||
!this.textEditorElement.getModel()
!this.textEditorElement.getModel() ||
!this.textEditorElement.parentNode
}
}

0 comments on commit cdcd269

Please sign in to comment.