win: Make the event in crash service signaled by default

Otherwise it seems to block the crash client on some machines.

Fix #2769.
This commit is contained in:
Cheng Zhao 2015-10-15 13:16:24 +08:00
parent 11a49bba35
commit 55d5660ddb

View file

@ -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;