Skip to content

Conversation

seaheart
Copy link
Contributor

@seaheart seaheart commented Jul 4, 2025

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

prevent potential risk of memory leakage

Fixed issues

#21083

Details

Before: What was the problem?

After: How does it behave after the fixing?

Document Info

One of the following should be checked.

  • This PR doesn't relate to document changes
  • The document should be updated later
  • The document changes have been made in apache/echarts-doc#xxx

Misc

ZRender Changes

  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

  • Please squash the commits into a single one when merging.

Other information

Copy link

echarts-bot bot commented Jul 4, 2025

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

@plainheart plainheart changed the title fix: potential risk of memory leakage of tooltipHTMLContent fix(tooltip): fix potential memory leakage by explicitly unbinding event listeners Jul 5, 2025
@plainheart plainheart added this to the 6.0.0 milestone Jul 5, 2025
Copy link
Contributor

github-actions bot commented Jul 5, 2025

The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-21087@59ac414

@plainheart plainheart linked an issue Jul 5, 2025 that may be closed by this pull request
@plainheart plainheart merged commit dbee785 into apache:master Jul 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Tooltip dispose memory leaks!
2 participants