RFR: 8313424: JavaFX controls in the title bar (Preview) [v78]

Michael Strauß mstrauss at openjdk.org
Tue Jun 3 19:23:44 UTC 2025


On Tue, 3 Jun 2025 19:13:08 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> Implementation of [`StageStyle.EXTENDED`](https://gist.github.com/mstr2/0befc541ee7297b6db2865cc5e4dbd09).
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix memory leak in ViewScene

`ViewScene` has a reference to `Scene` that it held onto after being disposed. When I clear out the reference in `ViewScene.dispose()`, the memory leaks disappear.

Of course, this is only a memory leak because `ViewScene` apparently hangs around after its scene/stage has been closed. But that's probably a question for another day, because it's unrelated to this feature.

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

PR Comment: https://git.openjdk.org/jfx/pull/1605#issuecomment-2936834119


More information about the openjfx-dev mailing list