chore: remove deprecated gpu-process-crashed event (#40255)

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
Milan Burda
2023-10-26 14:05:40 -04:00
committed by GitHub
parent 3f92a98315
commit 30fbcfca7b
6 changed files with 16 additions and 26 deletions

View File

@@ -441,6 +441,9 @@ app.configureHostResolver({ secureDnsMode: 'foo' });
// @ts-expect-error Removed API
console.log(app.runningUnderRosettaTranslation);
// @ts-expect-error Removed API
app.on('gpu-process-crashed', () => {});
// @ts-expect-error Removed API
app.on('renderer-process-crashed', () => {});