Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #179 Memory leak #180

Merged
merged 2 commits into from
Jun 26, 2024
Merged

fix #179 Memory leak #180

merged 2 commits into from
Jun 26, 2024

Conversation

lovemegowin
Copy link
Contributor

@lovemegowin lovemegowin commented Jun 24, 2024

Fix #179.
Improve the disposal timing to trigger at close time.

@lovemegowin lovemegowin changed the title fix #179 fix #179 Memory leak Jun 24, 2024
@sindresorhus sindresorhus merged commit 3cfcb4b into sindresorhus:main Jun 26, 2024
2 checks passed
@lovemegowin
Copy link
Contributor Author

lovemegowin commented Jun 27, 2024

Hi @sindresorhus , could you please publish an update to the npm package around version 3.6.X to include this change? There are numerous projects that still utilize CommonJS, and an update would be greatly appreciated.

@sindresorhus
Copy link
Owner

Sorry, I don't plan to backport back to the CommonJS version. Your options are either to move to ESM, depend on your own fork with the change, or use https://www.npmjs.com/package/patch-package

@lovemegowin
Copy link
Contributor Author

Okay, thanks for your advice!

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.

Memory leak issue when multiple windows are used.
2 participants