🚱 Dispose ::onDidUpdateMarkers in presenter

This commit is contained in:
Antonio Scandurra
2015-10-07 09:54:57 +02:00
parent 7311c9e54e
commit a767ca9892

View File

@@ -129,7 +129,7 @@ class TextEditorPresenter
@shouldUpdateCustomGutterDecorationState = true
@emitDidUpdateState()
@model.onDidUpdateMarkers =>
@disposables.add @model.onDidUpdateMarkers =>
@shouldUpdateLinesState = true
@shouldUpdateLineNumbersState = true
@shouldUpdateDecorations = true