android app crashed on second run based on cocos2dx 1.0.1 0.12.0
===

I modify pariticle tests project based on tests projects in source. change Cocos2dxActivity.java files

    public static void terminateProcess(){
        android.os.Process.killProcess(android.os.Process.myPid());
    }

to

    public static void terminateProcess(){
        finish();
    }

I Uses this changes on cocos2d-2.0-rc2-x-2.0.1, Activity can run second times successfully. But on cocos2d-1.0.1-x-0.12.0 (even cocos2d-1.0.1-x-0.13.0-beta), Activity ran successfully first times, failed on second times, success on the third time.
can anybody help me about this question? I tried to look for any fixed on changelog, but got no ideas. 
thanks.