Integrated: 8294589: MenuBarSkin: memory leak when changing skin

Andy Goryachev angorya at openjdk.org
Mon Dec 5 16:19:57 UTC 2022


On Thu, 29 Sep 2022 23:00:17 GMT, Andy Goryachev <angorya at openjdk.org> 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

This pull request has now been integrated.

Changeset: 2c18c181
Author:    Andy Goryachev <angorya at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/2c18c1816f81daf49d022de590f406a7dfc67e8e
Stats:     464 lines in 2 files changed: 234 ins; 198 del; 32 mod

8294589: MenuBarSkin: memory leak when changing skin

Reviewed-by: aghaisas, jhendrikx

-------------

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


More information about the openjfx-dev mailing list