Merge pull request #8679 from electron/disable-active-tracker

Disable the ActiveVerifier
This commit is contained in:
Cheng Zhao 2017-02-15 11:04:36 +09:00 committed by GitHub
commit c127ce3e46

View file

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