mirror of
https://github.com/scratchfoundation/Gestouch.git
synced 2024-11-30 03:05:39 -05:00
Fixed memory leak (caused by Touch#target)
This commit is contained in:
parent
146bed76ca
commit
6acc147586
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue