Permalink
Browse files

Remove a memory leak where saved touch data would never be released

  • Loading branch information...
1 parent f4d1aae commit 1adf6e8a615c93d92d8d619f343b3f2f73fc74e4 @davidaurelio davidaurelio committed Feb 22, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/renderer/svg/svg_event_handlers.js
@@ -138,6 +138,10 @@ define([
}
}
}
+
+ if (type === 'touchend' && allTouches.length === 0) {
+ this.touchData = {};
+ }
},
handleEvent: function(domEvent) {

0 comments on commit 1adf6e8

Please sign in to comment.