-
-
Notifications
You must be signed in to change notification settings - Fork 917
Closed as not planned
Labels
👀 no/externalThis makes more sense somewhere elseThis makes more sense somewhere else👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
rehype-highlight v7.0.0
Link to runnable example
https://github.com/zzzgydi/rhv7-memory-leak-test
Steps to reproduce
pnpm i
pnpm dev
- Visit
http://localhost:5173
- Open Chrome's task manager and find the corresponding tab to observe the memory situation
- Click
start
button - observe the memory situation
- Click
stop
andclear
button and observe
As a comparison
- Change
rehype-highlight v7.0.0
torehype-highlight v6.0.0
inpackage.json
- Repeat the steps above
Expected behavior
same as rehype-highlight v6.0.0
Actual behavior

Runtime
No response
Package manager
pnpm
OS
macOS
Build and bundle tools
Vite
aeharding and maxbrunetmaogptaeharding
Metadata
Metadata
Assignees
Labels
👀 no/externalThis makes more sense somewhere elseThis makes more sense somewhere else👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on