There sshould be no need to set app.allowRendererProcessReuse=false. Note that as of Electron 9 the default flipped to true.
One has to manually set allowRendererProcessReuse to false, and you get this warning:
[1] (node:82611) Electron: Loading non-context-aware native module in renderer: '/Users/saghul/work/jitsi/jitsi-meet-electron/node_modules/robotjs/build/Release/robotjs.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
Looks like https://github.com/electron/electron/issues/18397 may have the answers.
1.
2.
3.
4.
Any update to this? As the option has been deprecated.
Man why nobody is answering this?
Also interested in having this fixed. What can we do to help?
I'm also having this issue now. Fixed it for now with app.allowRendererProcessReuse=false but in Electron 11 that won't be possible.
A possible workaround I'm using is to load this module in the main process and if I need to use it from the renderer process, I just use Electron's IPC calls.
Any update on this issue?
Most helpful comment
Any update to this? As the option has been deprecated.