mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 07:01:19 +00:00
Bug 898370 - Disable crash reporting when running in metrodesktop mode. r=bbondy
This commit is contained in:
parent
74cb7450ea
commit
7e231db627
@ -241,6 +241,9 @@ static int do_main(int argc, char* argv[], nsIFile *xreDirectory)
|
||||
for (int idx = 1; idx < argc; idx++) {
|
||||
if (IsArg(argv[idx], "metrodesktop")) {
|
||||
metroOnDesktop = true;
|
||||
// Disable crash reporting when running in metrodesktop mode.
|
||||
char crashSwitch[] = "MOZ_CRASHREPORTER_DISABLE=1";
|
||||
putenv(crashSwitch);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user