Restart crash service in each spec

This commit is contained in:
Kevin Sawicki 2017-04-19 16:32:43 -07:00 committed by Kevin Sawicki
parent a7a92e1cd3
commit de62f1ea6c
5 changed files with 55 additions and 5 deletions

View file

@ -56,7 +56,7 @@ class CrashReporter {
const env = {
ELECTRON_INTERNAL_CRASH_SERVICE: 1
}
spawn(process.execPath, args, {
this._crashServiceProcess = spawn(process.execPath, args, {
env: env,
detached: true
})