auto-animate icon indicating copy to clipboard operation
auto-animate copied to clipboard

feat: destroy, unmount

Open pyongchen opened this issue 1 year ago • 2 comments

When the animation-mounted component is destroyed, the corresponding variables such as parents, mutations, resize, and timers are not cleared, which will cause memory leaks. Therefore, add a destroy method to autoAnimate, which is called when the component is destroyed. Memory leak related information is as follows: 企业微信截图_17100756826683 企业微信截图_1710075805294 Memory keeps rising as page routing switches

pyongchen avatar Mar 10 '24 13:03 pyongchen

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auto-animate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 10, 2024 1:09pm

vercel[bot] avatar Mar 10 '24 13:03 vercel[bot]