mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Dispose of ::scopedConfigSubscriptions when DisplayBuffer is destroyed
This commit is contained in:
@@ -1075,8 +1075,9 @@ class DisplayBuffer extends Model
|
||||
|
||||
destroyed: ->
|
||||
marker.unsubscribe() for id, marker of @markers
|
||||
@tokenizedBuffer.destroy()
|
||||
@scopedConfigSubscriptions.dispose()
|
||||
@unsubscribe()
|
||||
@tokenizedBuffer.destroy()
|
||||
|
||||
logLines: (start=0, end=@getLastRow()) ->
|
||||
for row in [start..end]
|
||||
|
||||
Reference in New Issue
Block a user