Ver Fonte

Disable terminate handler on Android to fix Google Play reporter

Ivan Savenko há 10 meses atrás
pai
commit
5636b9076f
1 ficheiros alterados com 2 adições e 0 exclusões
  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