mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 15:51:37 +00:00
Try to fix bug 535585 (random tests failing with xpcshell return code 1) by switching to the non-TerminateThread codepath provided by Breakpad
This commit is contained in:
parent
88d42265f1
commit
4d8648dfce
@ -46,7 +46,7 @@ LIBRARY_NAME = exception_handler_s
|
||||
XPI_NAME = crashreporter
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/../../..
|
||||
DEFINES += -DUNICODE -D_UNICODE
|
||||
DEFINES += -DUNICODE -D_UNICODE -DBREAKPAD_NO_TERMINATE_THREAD
|
||||
|
||||
CPPSRCS = \
|
||||
exception_handler.cc \
|
||||
|
@ -284,7 +284,7 @@ ExceptionHandler::~ExceptionHandler() {
|
||||
ReleaseSemaphore(handler_start_semaphore_, 1, NULL);
|
||||
WaitForSingleObject(handler_thread_, kWaitForHandlerThreadMs);
|
||||
#else
|
||||
TerminateThread(handler_thread_, 44);
|
||||
TerminateThread(handler_thread_, 1);
|
||||
#endif // BREAKPAD_NO_TERMINATE_THREAD
|
||||
|
||||
CloseHandle(handler_thread_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user