mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dispose graphics after use
This commit is contained in:
@@ -1683,6 +1683,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
graphics.setClip(rect.x, rect.y, rect.width, rect.height);
|
||||
paint(graphics);
|
||||
graphics.translate(rect.x, rect.y);
|
||||
graphics.dispose();
|
||||
putUserData(BUFFER, image);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user