mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Dispose of ::scopedConfigSubscriptions when Editor is destroyed
This commit is contained in:
@@ -175,6 +175,7 @@ class TextEditor extends Model
|
||||
|
||||
destroyed: ->
|
||||
@unsubscribe()
|
||||
@scopedConfigSubscriptions.dispose()
|
||||
selection.destroy() for selection in @getSelections()
|
||||
@buffer.release()
|
||||
@displayBuffer.destroy()
|
||||
|
||||
Reference in New Issue
Block a user