application crashes at "exit(0);" though its not visible on device. but, emulator.

hi, i get a breakpoint after successful run of application.

“Unhandled exception at 0x59e5a12d (JoggerPark.s86) in s3e_simulator_debug.exe: 0xC0000005: Access violation reading location 0x00000008.”

it opens the file “ccTexture2D.cpp” and break point points to the line “glDeleteTextures(1, &m_uName);”

exception handling not supported.
any other solution ?

thanks
jeet


Capture.PNG (26.4 KB)

solved it :slight_smile:
used “s3eDeviceExit();”
instead of “exit(0);”

please move this post to marmalade port.