Re: RFR: 8294589: MenuBarSkin: memory leak when changing skin [v18]

2022-12-01 Thread Andy Goryachev
On Thu, 1 Dec 2022 19:55:33 GMT, Andy Goryachev  wrote:

>> Fixed memory leak by using weak listeners and making sure to undo everything 
>> that has been done to MenuBar/Skin in dispose().
>> 
>> This PR depends on a new internal class ListenerHelper, a replacement for 
>> LambdaMultiplePropertyChangeListenerHandler.
>> See https://github.com/openjdk/jfx/pull/908
>
> Andy Goryachev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8294589: review comments

@aghaisas : would you please take a look?

-

PR: https://git.openjdk.org/jfx/pull/906


Re: RFR: 8294589: MenuBarSkin: memory leak when changing skin [v18]

2022-12-01 Thread Andy Goryachev
> Fixed memory leak by using weak listeners and making sure to undo everything 
> that has been done to MenuBar/Skin in dispose().
> 
> This PR depends on a new internal class ListenerHelper, a replacement for 
> LambdaMultiplePropertyChangeListenerHandler.
> See https://github.com/openjdk/jfx/pull/908

Andy Goryachev has updated the pull request incrementally with one additional 
commit since the last revision:

  8294589: review comments

-

Changes:
  - all: https://git.openjdk.org/jfx/pull/906/files
  - new: https://git.openjdk.org/jfx/pull/906/files/b51db815..cbcc17e7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=906&range=17
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=906&range=16-17

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jfx/pull/906.diff
  Fetch: git fetch https://git.openjdk.org/jfx pull/906/head:pull/906

PR: https://git.openjdk.org/jfx/pull/906