Commit 977a0f23 authored by hpi1's avatar hpi1

HScene: dispose Graphics object after use

parent 829df481
......@@ -256,6 +256,7 @@ public class HScene extends Container implements HComponentOrdering {
Graphics g = GUIManager.getInstance().getGraphics();
Rectangle r = getBounds();
g.clearRect(r.x, r.y, r.width, r.height);
if (image != null) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment