Menu

#5 org.swtchart.internal.Title.java handle leak

Unstable (example)
open
7
2018-04-13
2018-04-13
No

In org.swtchart.internal.Title.java - drawVerticalTitle(GC gc), Transform oldTransform is never disposed, causing handles to increase and memory leak.

Patch: set transform to null instead of oldTransform and in the GC chain, make sure you set the correct transform again after calling drawVerticalTitle();

Thanks for your good work with this library

Discussion

MongoDB Logo MongoDB