Skip to content

docs: add section on resource management to base-window.md - #43610

Merged
jkleinsc merged 1 commit into
electron:mainfrom
nikwen:base-window-docs
Oct 15, 2024
Merged

jkleinsc merged 1 commit into
electron:mainfrom
nikwen:base-window-docs

Conversation

@nikwen

@nikwen nikwen commented Sep 6, 2024

Copy link
Copy Markdown
Member

Description of Change

I noticed my webContents weren't getting destroyed when I closed my BaseWindows. I thought this should be documented somewhere.

There's a chance I got something wrong. In that case, please let me know and I'll fix it. I mostly arrived at these results through experiments.

Checklist

Release Notes

Notes: none

@welcome

welcome Bot commented Sep 6, 2024

Copy link
Copy Markdown

💖 Thanks for opening this pull request! 💖

Semantic PR titles

We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix.

Examples of commit messages with semantic prefixes:

  • fix: don't overwrite prevent_default if default wasn't prevented
  • feat: add app.isPackaged() method
  • docs: app.isDefaultProtocolClient is now available on Linux

Commit signing

This repo enforces commit signatures for all incoming PRs.
To sign your commits, see GitHub's documentation on Telling Git about your signing key.

PR tips

Things that will help get your PR across the finish line:

  • Follow the JavaScript, C++, and Python coding style.
  • Run npm run lint locally to catch formatting errors earlier.
  • Document any user-facing changes you've made following the documentation styleguide.
  • Include tests when adding/changing behavior.
  • Include screenshots and animated GIFs whenever possible.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

@electron-cation electron-cation Bot added documentation 📓 semver/patch backwards-compatible bug fixes new-pr 🌱 PR opened recently and removed new-pr 🌱 PR opened recently labels Sep 6, 2024
@nikwen

nikwen commented Sep 8, 2024

Copy link
Copy Markdown
Member Author

@codebytere
codebytere requested a review from a team September 9, 2024 09:25
@nikwen

nikwen commented Sep 10, 2024

Copy link
Copy Markdown
Member Author

Commit is signed now!

@jkleinsc
jkleinsc merged commit 72802c3 into electron:main Oct 15, 2024
@release-clerk

release-clerk Bot commented Oct 15, 2024

Copy link
Copy Markdown

No Release Notes

@nikwen

nikwen commented Oct 16, 2024

Copy link
Copy Markdown
Member Author

Thank you for reviewing and merging, @codebytere and @jkleinsc!

@trop

trop Bot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

@erickzhao has manually backported this PR to "33-x-y", please check out #44874

VerteDinde pushed a commit that referenced this pull request Dec 1, 2024
@trop trop Bot added merged/33-x-y PR was merged to the "33-x-y" branch. and removed in-flight/33-x-y labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation 📓 merged/33-x-y PR was merged to the "33-x-y" branch. no-backport semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants