mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 898370 - Disable crash reporting when running in metrodesktop mode. r=bbondy
This commit is contained in:
parent
1920e4e4f3
commit
5f3aa048fb
@ -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…
Reference in New Issue
Block a user