chore: add deprecation warning on setting app.allowRendererProcessReuse to false (#22337)
* chore: add deprecation warning on setting app.allowRendererProcessReuse to false * fix: no deprecation warnings in process reuse spec * chore: add test for new deprecate removeProperty behavior
This commit is contained in:
parent
6a01898c76
commit
12c1d4411d
5 changed files with 44 additions and 7 deletions
|
@ -1,6 +1,8 @@
|
|||
const { app, BrowserWindow, ipcMain } = require('electron')
|
||||
const path = require('path')
|
||||
|
||||
process.noDeprecation = true
|
||||
|
||||
process.on('uncaughtException', (e) => {
|
||||
console.error(e)
|
||||
process.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue