Destroy the selections marker layer when editors are destroyed

This commit is contained in:
Nathan Sobo
2015-11-03 15:49:11 -08:00
parent 2f81e5faac
commit 9ee3d53975
2 changed files with 6 additions and 4 deletions

View File

@@ -181,6 +181,7 @@ class TextEditor extends Model
@disposables.dispose()
@tabTypeSubscription.dispose()
selection.destroy() for selection in @selections.slice()
@selectionsMarkerLayer.destroy()
@buffer.release()
@displayBuffer.destroy()
@languageMode.destroy()