Issue link: electron/electron#40921
pnpm i
npm start
After BrowserWindow opens, it will auto-close after 1 second, and then a stale renderer process will appear.
- Open a BrowserWindow
- Attach a BrowserView to the BrowserWindow
- Add an iframe in the BrowserView, and let the iframe block the process
- Once the BrowserView page is displayed, after 1 second, instantly close the window and exit the program. A stale renderer process will appear.