// do nothing yet... public static final void CC_DIRECTOR_END() { CCDirector director = CCDirector.sharedDirector(); GLSurfaceView view = director.getOpenGLView(); ViewGroup vg = (ViewGroup) view.getParent(); vg.removeView(view); director.end(); }
@Override protected void onDestroy() { super.onDestroy(); director.end(); }