Chromium launches various windows in different processes using some heuristics (for example, based on different domains, etc.). In Electron, I would like to be able to force a window into a separate rendering process from other windows.
Looking through documents for BrowserWindow , I do not see a way .
BrowserWindow
Is there a way to force BrowserWindow to use a separate process from other windows in Electron?
Electron always creates a separate process for each Window and WebView browser, unless you specifically modify the Chromium process model using the flag (but this is not recommended, as this will break things).
Source: https://habr.com/ru/post/1259145/More articles:Case-insensitive iTerm2 - regexDoes Microsoft provide a swagger file for Graph? - swaggerUnable to import Python base module - pythonSASS adds unicode backslash (\) content - javaJSON: is it better to determine the type of an object inside or outside an object? - jsonSafari update frame with webpack-dev server in https mode - javascriptHow to save new state in local json - jsonApplication namespace on Google PlayStore - androidHow does the IO :: Handle subclass handle to correctly get a low-level descriptor without a file or memory? - perlThe view of the controller source changes every time it is displayed - iosAll Articles