This problems was already solved by this open source library - http://project.soom.la
You can either use it as a reference/sample code - it’s well documented
Or you can use it as a library/SDK
Only using finish(); seems will cause opengl erro when restart game . I also try not to release opengl when exit , when restart game , it runs well , but will cause about 0.1m memory leak .
Oren Bengigi wrote:
Hi,
Please see my thread about correct implementation of finishing activity instead of killing the process: http://www.cocos2d-x.org/boards/6/topics/15645
>
I have one problem there I need to fix, but I’ve still didn’t figure out how to fix it.
This problems was already solved by this open source library - http://project.soom.la
You can either use it as a reference/sample code - it’s well documented
Or you can use it as a library/SDK