mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Call dispose instead of unsubscribe on marker
This commit is contained in:
@@ -1084,7 +1084,7 @@ class DisplayBuffer extends Model
|
||||
return
|
||||
|
||||
destroyed: ->
|
||||
marker.unsubscribe() for id, marker of @markers
|
||||
marker.disposables.dispose() for id, marker of @markers
|
||||
@scopedConfigSubscriptions.dispose()
|
||||
@unsubscribe()
|
||||
@tokenizedBuffer.destroy()
|
||||
|
||||
Reference in New Issue
Block a user