void TestController::handleCrash() { disableCrashCatch(); logEx("%sCatch an crash event", LOG_TAG); if (!_stopAutoTest) { stopAutoTest(); } }
void TestController::handleCrash() { logEx("%sCatch an crash event", LOG_TAG); if (!_stopAutoTest) { stopAutoTest(); } #if CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_LINUX exit(1); #endif }