Skip to content

Commit

Permalink
Reset
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbok committed May 21, 2014
1 parent 21a49cc commit 975b2b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framer/Utils.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Utils.reset = ->
if __domReady is false if __domReady is false
return return


# Reset all pending operations to the dom
__domComplete = []

# Remove all the listeners so we don't leak memory # Remove all the listeners so we don't leak memory
for layer in Session._LayerList for layer in Session._LayerList
layer.removeAllListeners() layer.removeAllListeners()
Expand Down

0 comments on commit 975b2b1

Please sign in to comment.