Explorar o código

Disable terminate handler on Android to fix Google Play reporter

Ivan Savenko hai 10 meses
pai
achega
5636b9076f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lib/CConsoleHandler.cpp

+ 2 - 0
lib/CConsoleHandler.cpp

@@ -299,8 +299,10 @@ CConsoleHandler::CConsoleHandler():
 	GetConsoleScreenBufferInfo(handleErr, &csbi);
 	defErrColor = csbi.wAttributes;
 #ifdef NDEBUG
+#ifndef VCMI_ANDROID
 	SetUnhandledExceptionFilter(onUnhandledException);
 #endif
+#endif
 #else
 	defColor = "\x1b[0m";
 #endif