exit for pluginCrashInNestedLoop rather than crashing with crashreporter, to make timing more reliable b=550026

This commit is contained in:
Karl Tomlinson 2010-04-12 10:27:37 +12:00
parent 35ceca52a8
commit f61df0bf35

View File

@ -657,7 +657,11 @@ CrasherThread(void* data)
// Give the parent thread a chance to send the message. // Give the parent thread a chance to send the message.
usleep(200); usleep(200);
IntentionalCrash(); // Exit (without running atexit hooks) rather than crashing with a signal
// so as to make timing more reliable. The process terminates immediately
// rather than waiting for a thread in the parent process to attach and
// generate a minidump.
_exit(1);
// not reached // not reached
return(NULL); return(NULL);