Fixed memory leak (caused by Touch#target)

This commit is contained in:
Pavel fljot 2012-09-05 13:44:51 +03:00
parent 146bed76ca
commit 6acc147586

View file

@ -179,6 +179,8 @@ package org.gestouch.core
_activeTouchesCount--;
_gesturesManager.onTouchEnd(touch);
touch.target = null;
}
@ -194,6 +196,8 @@ package org.gestouch.core
_activeTouchesCount--;
_gesturesManager.onTouchCancel(touch);
touch.target = null;
}