Merge pull request #647 from yuya-oc/ignore-gpu-process-crashed

Ignore "gpu-process-crashed" event then output the log to console
This commit is contained in:
Yuya Ochiai
2017-11-09 01:41:15 +09:00
committed by GitHub

View File

@@ -305,8 +305,8 @@ app.on('certificate-error', (event, webContents, url, error, certificate, callba
}
});
app.on('gpu-process-crashed', () => {
throw new Error('The GPU process has crached');
app.on('gpu-process-crashed', (event, killed) => {
console.log(`The GPU process has crached (killed = ${killed})`);
});
const loginCallbackMap = new Map();