mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
- Added logic to destroy existing charts before creating new ones, preventing memory leaks and ensuring proper chart updates. - Updated the currentCharts object to maintain references to the newly created charts, enhancing the management of chart instances. - These changes improve the performance and reliability of the metrics dashboard by ensuring that charts are correctly handled during updates.