Permalink
Browse files

Reset

  • Loading branch information...
koenbok committed May 21, 2014
1 parent 21a49cc commit 975b2b1819e904038d1b506d6fec10f3fc2ab8b3
Showing with 3 additions and 0 deletions.
  1. +3 −0 framer/Utils.coffee
@@ -9,6 +9,9 @@ Utils.reset = ->
if __domReady is false
return
# Reset all pending operations to the dom
__domComplete = []
# Remove all the listeners so we don't leak memory
for layer in Session._LayerList
layer.removeAllListeners()

0 comments on commit 975b2b1

Please sign in to comment.