]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
JFreeChart implementation is leaking memory
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 8 Dec 2021 17:56:56 +0000 (19:56 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 8 Dec 2021 17:56:56 +0000 (19:56 +0200)
commit2ed2eef2e82441db71c9a4f384130483ab1937cf
tree7d0cdf2a45a85f3bab455d24256fde1f798942ae
parent164524fd35dab8a6332f7382b94f952325c0ac39
JFreeChart implementation is leaking memory

Old Plot properties were not diposed when new Plot was set
ChartComposites did not dispose active chart.
Setting object references to null in Plot.dispose() implementations

gitlab #86
bundles/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/AbstractPlot.java
bundles/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/ChartComposite.java
bundles/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/ChartComposite2.java
bundles/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/PiePlot.java