提交 fe359798 编写于 作者: R rupashka

7143857: Memory leak in javax.swing.plaf.synth.SynthTreeUI

Reviewed-by: alexp
上级 8d7b3b10
...@@ -434,6 +434,8 @@ public class SynthTreeUI extends BasicTreeUI ...@@ -434,6 +434,8 @@ public class SynthTreeUI extends BasicTreeUI
// Empty out the renderer pane, allowing renderers to be gc'ed. // Empty out the renderer pane, allowing renderers to be gc'ed.
rendererPane.removeAll(); rendererPane.removeAll();
paintContext = null;
} }
private void configureRenderer(SynthContext context) { private void configureRenderer(SynthContext context) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册