When I test the socketio test, press the "connect" menu label, the test connects correctly. After that, when I go back to the main menu and exit the tests using the button in the top-right corner, I get the following crash:
Unhandled exception at 0x0F90A3BC (msvcr120d.dll) in cpp-tests.exe: 0xC0000005: Access violation reading location 0xFEEEFEF6.
When I break, Visual studio shows me the following code that triggers the error:
bool IsTicketValid()
{
return (m_ticketState & StateIsTicketValid) != 0;
}
in the file "rtlocks.cpp", which is not part of cocos2d.
I noticed this in my game, then I ran the test and saw that the error also happened.
When I test the socketio test, press the "connect" menu label, the test connects correctly. After that, when I go back to the main menu and exit the tests using the button in the top-right corner, I get the following crash:
Unhandled exception at 0x0F90A3BC (msvcr120d.dll) in cpp-tests.exe: 0xC0000005: Access violation reading location 0xFEEEFEF6.
When I break, Visual studio shows me the following code that triggers the error:
bool IsTicketValid()
{
return (m_ticketState & StateIsTicketValid) != 0;
}
in the file "rtlocks.cpp", which is not part of cocos2d.
I noticed this in my game, then I ran the test and saw that the error also happened.