forked from qt-creator/qt-creator
Crashpad: Explicitly enable crash_handler only for main app
That is the default, but this enables us to tweak the behavior in the crash_handler correspondingly. Change-Id: Ia580a580d4fb9ec8cfe90a3cb7c10471d86f3f41 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -444,6 +444,7 @@ void startCrashpad(const AppInfo &appInfo, bool crashReportingEnabled)
|
|||||||
annotations["sha1"] = Core::Constants::IDE_REVISION_STR;
|
annotations["sha1"] = Core::Constants::IDE_REVISION_STR;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
CrashpadInfo::GetCrashpadInfo()->set_crashpad_handler_behavior(crashpad::TriState::kEnabled);
|
||||||
if (HostOsInfo::isWindowsHost()) {
|
if (HostOsInfo::isWindowsHost()) {
|
||||||
// reduces the size of crash reports, which can be large on Windows
|
// reduces the size of crash reports, which can be large on Windows
|
||||||
CrashpadInfo::GetCrashpadInfo()
|
CrashpadInfo::GetCrashpadInfo()
|
||||||
|
Reference in New Issue
Block a user