Re: [External] : Re: New API: Animation/Timeline improvement

2023-12-19 Thread Andy Goryachev
at 16:14 To: Andy Goryachev , openjfx-dev Subject: [External] : Re: New API: Animation/Timeline improvement I don't think that's the correct solution, as it opens up a whole new avenue for subtle bugs, bringing GC/JVM/OS whims and settings into the mix. We want the clean-up to be

Re: New API: Animation/Timeline improvement

2023-12-18 Thread John Hendrikx
x-dev *Subject: *New API: Animation/Timeline improvement Hi list, I've noticed that Animations and Timelines are often a source of leaks, and their clean-up is often either non-existent or incorrect.  The reason they cause leaks easily is because a running animation or timeline is glob

Re: New API: Animation/Timeline improvement

2023-12-18 Thread Andy Goryachev
Would making Timeline to use WeakReferences solve the issue without the need for a new API? -andy From: openjfx-dev on behalf of John Hendrikx Date: Friday, December 15, 2023 at 21:53 To: openjfx-dev Subject: New API: Animation/Timeline improvement Hi list, I've noticed that Anima

New API: Animation/Timeline improvement

2023-12-15 Thread John Hendrikx
Hi list, I've noticed that Animations and Timelines are often a source of leaks, and their clean-up is often either non-existent or incorrect.  The reason they cause leaks easily is because a running animation or timeline is globally referred from a singleton PrimaryTimer.  The animation or t