Browse Source

Disable the ActiveVerifier

Cheng Zhao 8 years ago
parent
commit
bad6954911
1 changed files with 3 additions and 0 deletions
  1. 3 0
      atom/app/atom_main_delegate.cc

+ 3 - 0
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);