-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak #304
Comments
As noted in #230, I don't see
|
@kussmaul A while ago, I refactored the library to use a However, I'm quite convinced that calling |
+1 to fixes rather than workarounds. :-) I see components ( |
It's probably worth looking into if you find the time :) Also, a reproduction of this issue (Stackblitz or Codespaces) would be great! I'm not entirely sure about subjects within components anymore. If that can cause issues, it might be the |
I also looked at listeners: I see components ( In contrast, @FERNman, do you recall why Should these 4 classes call |
Please answer the following questions for yourself before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.
Description
When a component with google-chart is destroyed the memory related to Google chart remains.
To reproduce
Steps to reproduce the behaviour:
Expected behaviour
Angular google chart component must clear the chart on destroy using clearChart() method of google charts.
Workaround
Call chart.clearChart() on ngDestroy() for parent component. chart is obtained using "ready" callback.
See the same workaround for Vue:
devstark-com/vue-google-charts#25
The text was updated successfully, but these errors were encountered: