Integrated: 8279228 Leak in ScrollPaneSkin, related to touch events
Florian Kirmaier
fkirmaier at openjdk.java.net
Wed Feb 23 16:16:57 UTC 2022
On Thu, 23 Dec 2021 17:43:19 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:
> Fixing memoryleak, related to touch events in ScrollPaneWhen touchDetected or mouseDown is true, the sbTouch animation is running,
> and the node is removed from the Scene, then the animation will never stop, causing a memory leak.
> A simple fix is to also check, whether the Node is visible, by checking the "isTreeShowing" property.
This pull request has now been integrated.
Changeset: adf1da42
Author: Florian Kirmaier <fkirmaier at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/adf1da42de07aba5af07c67a4e756db52203256d
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
8279228: Leak in ScrollPaneSkin, related to touch events
Reviewed-by: aghaisas, kcr
-------------
PR: https://git.openjdk.java.net/jfx/pull/701
More information about the openjfx-dev
mailing list