Skip to content

fix(vchart): fix memory leaks in Player component and BaseComponent release logic#4491

Merged
xuefei1313 merged 1 commit intodevelopfrom
fix/fix-memory-leaks
Mar 4, 2026
Merged

fix(vchart): fix memory leaks in Player component and BaseComponent release logic#4491
xuefei1313 merged 1 commit intodevelopfrom
fix/fix-memory-leaks

Conversation

@xuefei1313
Copy link
Contributor

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Refactoring
  • Update dependency
  • Code style optimization
  • Test Case
  • Branch merge
  • Release
  • Site / documentation update
  • Demo update
  • Workflow
  • Other (about what?)

🔗 Related issue link

🔗 Related PR link

🐞 Bugserver case id

💡 Background and solution

Fix memory leaks in Player component and BaseComponent release logic.

  • Update @visactor/vrender related packages to 1.0.41.
  • In BaseComponent, call release(true) when removing child components.
  • In Player, properly unbind autoPlayCallback event listener on release.
  • Fix _autoSize logic in VChart.

📝 Changelog

Language Changelog
🇺🇸 English Fix memory leaks in Player component and BaseComponent release logic.
🇨🇳 Chinese

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

@xuefei1313 xuefei1313 merged commit cab0862 into develop Mar 4, 2026
7 of 10 checks passed
@xuefei1313 xuefei1313 deleted the fix/fix-memory-leaks branch March 4, 2026 06:32
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.

2 participants