> Simple fix to remove annoying warnings.
Thiago Milczarek Sayao has updated the pull request incrementally with one
additional commit since the last revision:
Sep cppFlags and cFlags
-
Changes:
- all: https://git.openjdk.java.net/jfx/pull/150/files
- new:
On Sat, 28 Mar 2020 06:42:06 GMT, Ambarish Rapte wrote:
>> ButtonSkin adds a `ChangeListener` to `Control.sceneProperty()` which
>> results in leaking the `ButtonSkin` itself when
>> the `Button`'s skin is changed to a new `ButtonSkin`. Using a
>> `WeakChangeListener` instead of
> ButtonSkin adds a `ChangeListener` to `Control.sceneProperty()` which results
> in leaking the `ButtonSkin` itself when
> the `Button`'s skin is changed to a new `ButtonSkin`. Using a
> `WeakChangeListener` instead of `ChangeListener` solves
> the issue.
> Please take a look.
Ambarish Rapte
On Fri, 27 Mar 2020 12:12:30 GMT, Ambarish Rapte wrote:
>> In general, there are two approaches to avoiding listener-related memory
>> leaks. One is to use a WeakListener; the other
>> is to explicitly remove the listener when the object is removed or otherwise
>> no longer needed.
>> Using a