Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

fix: process exit listener causing memory leak#28

Merged
chenjiahan merged 3 commits into
rstackjs:mainfrom
watsonhaw5566:main
May 23, 2025
Merged

fix: process exit listener causing memory leak#28
chenjiahan merged 3 commits into
rstackjs:mainfrom
watsonhaw5566:main

Conversation

@watsonhaw5566
Copy link
Copy Markdown
Contributor

@watsonhaw5566 watsonhaw5566 commented May 23, 2025

image

rspack-plugin-virtual-module 虚拟模块使用的比较多的时候,会引发内存泄露问题。

@watsonhaw5566 watsonhaw5566 changed the title fix: 修复 process.on('exit', this.clear.bind(this)); 会产生内存泄露问题 fix: 修复 process.on('exit', this.clear.bind(this)); 导致内存泄露问题 May 23, 2025
@chenjiahan chenjiahan changed the title fix: 修复 process.on('exit', this.clear.bind(this)); 导致内存泄露问题 fix: process exit listener causing memory leak May 23, 2025
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

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

Thank you!

@chenjiahan chenjiahan merged commit 516c881 into rstackjs:main May 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants