mirror of
https://github.com/electron/electron.git
synced 2026-01-25 15:28:11 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user