🚱 Clear blinking interval when cursor view is removed

This commit is contained in:
Kevin Sawicki & Nathan Sobo
2013-08-27 12:59:30 -07:00
parent e28ef3a76c
commit 38422150b0

View File

@@ -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()