mirror of
https://github.com/atom/atom.git
synced 2026-01-28 00:08:13 -05:00
Remove .dispose calls for deleted subscriptions
This commit is contained in:
@@ -245,10 +245,8 @@ class TextEditor extends Model
|
||||
destroyed: ->
|
||||
@disposables.dispose()
|
||||
@displayLayer.destroy()
|
||||
@scopedConfigSubscriptions.dispose()
|
||||
@disposables.dispose()
|
||||
@tokenizedBuffer.destroy()
|
||||
@tabTypeSubscription.dispose()
|
||||
selection.destroy() for selection in @selections.slice()
|
||||
@selectionsMarkerLayer.destroy()
|
||||
@buffer.release()
|
||||
|
||||
Reference in New Issue
Block a user