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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user