I have abstracted out the code for adding event listeners to a node in a separate utility called TouchHelper, which can be found here: https://gist.github.com/fleon/f9abc82f1f873cb3b30f8d9628cfeb98
Details about the issue:
There are lots of ‘basic_object_finalize’ messages in the logs, which indicates that some sort of garbage collection was triggered. (Those messages occur from garbage collecting a couple of XMLHttpRequest objects.) If I am touching and interacting with any object during this process, the crash occurs, and the breakpoint occurs at handling
onTouchMoved event. I am unable to determine which node it belongs to from the debugger. If I am not touching the screen, it works fine.
I have tried a lot of things, but haven’t been able to fix the issue. Can anyone give me any pointers about this?