зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1783189: Remove setting of WER_FAULT_REPORTING_DISABLE_SNAPSHOT_HANG flag in RegisterRuntimeExceptionModule. r=gsvelto
Hangs are now filtered out in the module itself, so this is no longer required and didn't appear to work as hoped anyway. Differential Revision: https://phabricator.services.mozilla.com/D153751
This commit is contained in:
Родитель
3dd8f8e969
Коммит
4261f121bf
|
@ -17,7 +17,6 @@
|
|||
# define HREPORT HANDLE
|
||||
# define PWER_SUBMIT_RESULT WER_SUBMIT_RESULT*
|
||||
# define WER_MAX_PREFERRED_MODULES_BUFFER (256)
|
||||
# define WER_FAULT_REPORTING_DISABLE_SNAPSHOT_HANG (256)
|
||||
# endif // defined(__MINGW32__) || defined(__MINGW64__)
|
||||
# include <werapi.h> // For WerRegisterRuntimeExceptionModule()
|
||||
# include <stdlib.h>
|
||||
|
@ -95,11 +94,6 @@ void RegisterRuntimeExceptionModule() {
|
|||
*sModulePath = L'\0';
|
||||
return;
|
||||
}
|
||||
|
||||
DWORD dwFlags = 0;
|
||||
if (WerGetFlags(GetCurrentProcess(), &dwFlags) == S_OK) {
|
||||
Unused << WerSetFlags(dwFlags | WER_FAULT_REPORTING_DISABLE_SNAPSHOT_HANG);
|
||||
}
|
||||
#endif // XP_WIN
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче