Cocos2dx v3.7 JavaScript game crashes on mobile (Android + iPhone/iOS)

I think you are right.

The only section in my cocos project that uses EventListener.TouchOneByOne is the code I used from this Cocos Forum Post which I used to avoid multiple touches of ccui.Buttons. I used this method/function in 2 difference scenes in my project.

EDIT: I am making a mobile racing game and I always use cc.eventManager.removeAllListeners(); at the end of each race.

UPDATE: I tried commenting out the part of the code that uses touchOneByOne listeners but the game still crashed. Need to do more debugging. Don’t worry about bringing bad news, if it’s my fault then I just want to get to the bottom of this. I really appreciate all your help and suggestions.