X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fbase%2Feerror.cpp;h=8766f5ec48b5dba927305dcc7c4eb6457bc4bdf7;hb=a50379ad64b3f0b79af40876ebde0e6deb15d245;hp=241b2d3df9e8c3e48be90b80336599cc256c9c00;hpb=fac3796db3a798ec64af12a56624aa535e45631f;p=vuplus_dvbapp diff --git a/lib/base/eerror.cpp b/lib/base/eerror.cpp index 241b2d3..8766f5e 100644 --- a/lib/base/eerror.cpp +++ b/lib/base/eerror.cpp @@ -69,11 +69,13 @@ void DumpUnfreed() #endif Signal2 logOutput; -int logOutputConsole=0; +int logOutputConsole=1; static pthread_mutex_t DebugLock = PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP; +extern void bsodFatal(); + void eFatal(const char* fmt, ...) { char buf[1024]; @@ -84,7 +86,7 @@ void eFatal(const char* fmt, ...) singleLock s(DebugLock); logOutput(lvlFatal, buf); fprintf(stderr, "FATAL: %s\n",buf ); - _exit(0); + bsodFatal(); } #ifdef DEBUG