Re: RFR: 8279228 Leak in ScrollPaneSkin, related to touch events

2022-02-23 Thread Kevin Rushforth
On Thu, 23 Dec 2021 17:43:19 GMT, Florian Kirmaier 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 lea

Re: RFR: 8279228 Leak in ScrollPaneSkin, related to touch events

2022-02-21 Thread Ajit Ghaisas
On Thu, 23 Dec 2021 17:43:19 GMT, Florian Kirmaier 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 lea

Re: RFR: 8279228 Leak in ScrollPaneSkin, related to touch events

2022-01-07 Thread Florian Kirmaier
On Thu, 23 Dec 2021 17:43:19 GMT, Florian Kirmaier 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 lea

Re: RFR: 8279228 Leak in ScrollPaneSkin, related to touch events

2022-01-06 Thread Kevin Rushforth
On Thu, 23 Dec 2021 17:43:19 GMT, Florian Kirmaier 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 lea

RFR: 8279228 Leak in ScrollPaneSkin, related to touch events

2021-12-23 Thread Florian Kirmaier
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 che