RFR: 8279214: Memory leak in Scene after dragging a cell

Andy Goryachev angorya at openjdk.org
Wed Sep 14 20:41:54 UTC 2022


On Wed, 14 Sep 2022 20:35:07 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/javafx/scene/Scene.java line 3671:
>> 
>>> 3669:             pdrEventTarget.clear();
>>> 3670:             pdrEventTargets.clear();
>>> 3671:             fullPDRTmpTargetWrapper.clear();
>> 
>> the change looks ok to me.
>> is this the only place where the clear() is needed?
>
> Yes, I checked the path of a typical mouse event and this method is always called when a mouse/drag operation is done.

ESCAPE key press during dragging?

-------------

PR: https://git.openjdk.org/jfx/pull/899


More information about the openjfx-dev mailing list