I’ve noticed that in some cases, in the middle of the game, multitouch doesn’t work anymore.
Initially I thought this is probably my bug, but after trying to reconstruct the bug I found two things:

When running in debug it never happens.

When running in release it sometimes happens, and when it happens, it looks like the multitouch code is not even read. I mean, my touchesBegan method is either not called, or the touches set simply doesn’t contain the extra multitouch.

Any idea if this can be any kind of bug?
Here is my touchesBegan method, _inputAllowed is true for sure, as well as the condition below it, but processTouchBegin is not called.

What can be causing this?
I’m using cocos2d-1.0.1-x-0.9.2 if I’mt not mistaken (how can I verify this based on library code?)
Can this be a cocos2d-x bug? Should I upgrade to the latest version?