Bug 1240142 - always disable crashreporter when using ./mach run, r=gps

This commit is contained in:
Gijs Kruitbosch 2016-01-18 11:06:00 +00:00
parent 01fc9259ec
commit 9eb5172ea0

View File

@ -1121,7 +1121,7 @@ class RunProgram(MachCommandBase):
args.append('-profile')
args.append(path)
extra_env = {}
extra_env = {'MOZ_CRASHREPORTER_DISABLE': '1'}
if debug or debugger or debugparams:
import mozdebug
@ -1150,8 +1150,6 @@ class RunProgram(MachCommandBase):
if not slowscript:
extra_env['JS_DISABLE_SLOW_SCRIPT_SIGNALS'] = '1'
extra_env['MOZ_CRASHREPORTER_DISABLE'] = '1'
# Prepend the debugger args.
args = [self.debuggerInfo.path] + self.debuggerInfo.args + args