You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
createStandaloneErrorDialog leaks the BrowserWindow it creates by default #19535
When no window is passed, createStandaloneErrorDialog (src/node/desktop/src/main/utils.ts) creates a BrowserWindow({ width: 0, height: 0 }) and never closes it, because the default shouldCloseWindow is false. The non-fatal startup warnings (state folders, reset desktop options) leave that hidden window open until closeAllSatellites runs.
The function should close the window it created itself, and the doc comment's "if you pass a custom window, you must pass shouldCloseWindow = true" has the ownership backwards.
Activity