Integrated: 8279214: Memory leak in Scene after dragging a cell
Marius Hanl
mhanl at openjdk.org
Tue Nov 22 09:57:59 UTC 2022
On Wed, 14 Sep 2022 18:44:14 GMT, Marius Hanl <mhanl at openjdk.org> wrote:
> This PR fixes a memory leak in dnd code in the `MouseHandler` of a `Scene`.
> The memory leak occurs after calling `startFullDrag()`. The `fullPDRTmpTargetWrapper` is then populated but never cleared.
> Fix is to call `clear()` on the `fullPDRTmpTargetWrapper`, very similar to https://github.com/openjdk/jfx/pull/448 ([JDK-8264330](https://bugs.openjdk.java.net/browse/JDK-8264330)).
This pull request has now been integrated.
Changeset: a0ea8743
Author: Marius Hanl <mhanl at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/a0ea8743eb20bf4791f7a8bf627416aa97c002e5
Stats: 42 lines in 2 files changed: 42 ins; 0 del; 0 mod
8279214: Memory leak in Scene after dragging a cell
Reviewed-by: angorya, arapte
-------------
PR: https://git.openjdk.org/jfx/pull/899
More information about the openjfx-dev
mailing list