Permalink
Browse files

Fix for exception on listener removal

  • Loading branch information...
koenbok committed May 30, 2014
1 parent d16326a commit ccc99d432bb020ea6befc2d2899f61594645b2dd
Showing with 3 additions and 1 deletion.
  1. +3 −1 framer/Layer.coffee
View
@@ -592,7 +592,9 @@ class exports.Layer extends BaseClass
super event, listener
@_element.removeEventListener event, listener
@_eventListeners[event] = _.without @_eventListeners[event], listener
if @_eventListeners
@_eventListeners[event] = _.without @_eventListeners[event], listener
removeAllListeners: ->

0 comments on commit ccc99d4

Please sign in to comment.