Ignore "gpu-process-crashed" event then output the log to console

This commit is contained in:
Yuya Ochiai
2017-11-08 23:23:13 +09:00
parent 4137df4098
commit 09f24131fa

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();