Reputation:
Chromium runs various windows in different processes through some heuristic (like based on different domains etc). In Electron I'd like to be able to force a window into a separate render process from other windows.
Looking through the docs for BrowserWindow
I don't see way.
Is there a way to force a BrowserWindow to use a separate process from other windows in Electron?
Upvotes: 5
Views: 546
Reputation: 14847
Electron always creates a separate process for each BrowserWindow and WebView, unless you specifically change the Chromium process model via a flag (but that's not advisable as it'll break things).
Upvotes: 3