From: Cheng Zhao Date: Thu, 15 Oct 2015 05:16:24 +0000 (+0800) Subject: win: Make the event in crash service signaled by default X-Git-Tag: v0.33.9~5^2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=55d5660ddb9650ea2ced673aee51805f449e7841;p=electron.git win: Make the event in crash service signaled by default Otherwise it seems to block the crash client on some machines. Fix #2769. --- diff --git a/atom/common/crash_reporter/win/crash_service.cc b/atom/common/crash_reporter/win/crash_service.cc index d315b0b9..9b6ba7e0 100644 --- a/atom/common/crash_reporter/win/crash_service.cc +++ b/atom/common/crash_reporter/win/crash_service.cc @@ -311,7 +311,7 @@ bool CrashService::Initialize(const base::string16& application_name, // service is initialized. base::string16 wait_name = ReplaceStringPlaceholders( kWaitEventFormat, application_name, NULL); - HANDLE wait_event = ::CreateEventW(NULL, TRUE, FALSE, wait_name.c_str()); + HANDLE wait_event = ::CreateEventW(NULL, TRUE, TRUE, wait_name.c_str()); ::SetEvent(wait_event); return true;