Преглед на файлове

Disable terminate handler on Android to fix Google Play reporter

Ivan Savenko преди 10 месеца
родител
ревизия
5636b9076f
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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