mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
🚱 Clear blinking interval when cursor view is removed
This commit is contained in:
@@ -33,10 +33,10 @@ class CursorView extends View
|
||||
if @cursor.marker.isRemote()
|
||||
@addClass("site-#{@cursor.marker.getOriginSiteId()}")
|
||||
|
||||
remove: ->
|
||||
beforeRemove: ->
|
||||
@editor.removeCursorView(this)
|
||||
@cursor.off('.cursor-view')
|
||||
super
|
||||
@stopBlinking()
|
||||
|
||||
updateDisplay: ->
|
||||
screenPosition = @getScreenPosition()
|
||||
|
||||
Reference in New Issue
Block a user