From bad695491111b5988d08131828db4847a42300b1 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 14 Feb 2017 17:23:20 +0900 Subject: [PATCH] Disable the ActiveVerifier --- atom/app/atom_main_delegate.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atom/app/atom_main_delegate.cc b/atom/app/atom_main_delegate.cc index e4015e57be4b..1490b890134b 100644 --- a/atom/app/atom_main_delegate.cc +++ b/atom/app/atom_main_delegate.cc @@ -102,6 +102,9 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) { #if defined(OS_WIN) // Ignore invalid parameter errors. _set_invalid_parameter_handler(InvalidParameterHandler); + // Disable the ActiveVerifier, which is used by Chrome to track possible + // bugs, but no use in Electron. + base::win::DisableHandleVerifier(); #endif return brightray::MainDelegate::BasicStartupComplete(exit_code);