Fix touch memory leak

This commit is contained in:
Pavel fljot 2012-09-05 16:59:02 +03:00
parent d47641ce43
commit 85cbe270a6

View file

@ -308,6 +308,8 @@ package org.gestouch.core
}
gesturesForTouch.length = 0;// release for GC
delete _gesturesForTouchMap[touch];//TODO: remove this once Touch objects are pooled
}
@ -327,6 +329,8 @@ package org.gestouch.core
}
gesturesForTouch.length = 0;// release for GC
delete _gesturesForTouchMap[touch];//TODO: remove this once Touch objects are pooled
}