RFR: 8341418: Prism/es2 DrawableInfo is never freed (leak) [v3]
Thiago Milczarek Sayao
tsayao at openjdk.org
Mon Oct 7 17:05:42 UTC 2024
On Mon, 7 Oct 2024 03:26:59 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
>> But drawable can now be disposed and set to null. If that happens and `createGraphics` is called again it will end in a NPE.
>
> The NPE would be a good thing then, as no method should be called on a disposed object (except for `dispose`).
Makes sense. I rolled back the null check.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1586#discussion_r1790585238
More information about the openjfx-dev
mailing list