mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
exit for pluginCrashInNestedLoop rather than crashing with crashreporter, to make timing more reliable b=550026
This commit is contained in:
parent
35ceca52a8
commit
f61df0bf35
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user