Skip to content

feat: stop holding a reference to mainWindow#312

Merged
erickzhao merged 1 commit intoelectron:masterfrom
nornagon:patch-1
Jan 30, 2020
Merged

feat: stop holding a reference to mainWindow#312
erickzhao merged 1 commit intoelectron:masterfrom
nornagon:patch-1

Conversation

@nornagon
Copy link
Contributor

BrowserWindow objects keep themselves referenced at least as long as the window isn't closed, so there's no need to hold a reference to the main window.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.9% when pulling f72f052 on nornagon:patch-1 into f7fa9a8 on electron:master.

Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See also related: electron/electron#21957

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants