Skip to content

ver 3.21.5

Latest

Choose a tag to compare

@eliasyin eliasyin released this 24 Jun 11:32
· 121 commits to main since this release
64901c8
fix: Address multiple memory leaks in CodeBlock component (#4244)

* fix: address multiple memory leaks in CodeBlock component (CodeBlock_247, CodeBlock_459, CodeBlock_694)

* fix: Address review feedback for CodeBlock memory leak fixes

- Consolidate isMountedRef management into syntax highlighting useEffect
- Unify timeout cleanup patterns for consistent maintainability
- Maintain all existing memory leak protections
- Improve code organization and readability

Addresses review comments from daniel-lxs in PR #4244

---------

Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>