-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
3-1-x4-2-x5-0-xbug 🪲bug/regression ↩️A new version of Electron broke somethingA new version of Electron broke somethingstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature
Description
Issue Details
- Electron Version:
- 3.x, 4.x, 5.x, 6.x
- Operating System:
- All
- Last Known Working Electron version::
- 2.x
Expected Behavior
When navigations occur, a new process should be created for the navigation.
Actual Behavior
When a navigation occurs during a preloads scripts execution the same process is re-used as Chromium does not think the navigation has been committed yet. This causes a memory leak and all native node modules to break.
To Reproduce
Fiddle: https://gist.github.com/MarshallOfSound/c89aa0037c3da114d44aa3a2d1a0fc24
Screenshots
As you can see here there are three navigation loads, the second and the third one actually have the same process ID (and are running in the same process)
Metadata
Metadata
Assignees
Labels
3-1-x4-2-x5-0-xbug 🪲bug/regression ↩️A new version of Electron broke somethingA new version of Electron broke somethingstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature