Merge pull request #8679 from electron/disable-active-tracker
Disable the ActiveVerifier
This commit is contained in:
commit
c127ce3e46
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_WIN)
|
||||||
// Ignore invalid parameter errors.
|
// Ignore invalid parameter errors.
|
||||||
_set_invalid_parameter_handler(InvalidParameterHandler);
|
_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
|
#endif
|
||||||
|
|
||||||
return brightray::MainDelegate::BasicStartupComplete(exit_code);
|
return brightray::MainDelegate::BasicStartupComplete(exit_code);
|
||||||
|
|
Loading…
Reference in a new issue