<div dir="ltr">I might be mistaken, but it seems <span style="font-family:"JetBrains Mono",monospace;font-size:9.8pt;background-color:rgb(30,31,34);color:rgb(188,190,196)">deleteDrawableInfo</span> is never called.<div><br></div><div>I think it should be called when the platform View is replaced or when the window is closed.</div><div><br></div><div><div>Github search for <span style="background-color:rgb(30,31,34);color:rgb(188,190,196);font-family:"JetBrains Mono",monospace;font-size:13.0667px">deleteDrawableInfo</span></div><div><a href="https://github.com/search?q=repo%3Aopenjdk%2Fjfx%20deleteDrawableInfo&type=code">https://github.com/search?q=repo%3Aopenjdk%2Fjfx%20deleteDrawableInfo&type=code</a><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 24 de set. de 2024 às 09:07, Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>While doing some work on replacing GLX with EGL I discovered a possible leak.</div><div><br></div><div>Running this test:</div><div>gradle -PFULL_TEST=true -PUSE_ROBOT=true  :systemTests:test --tests SetSceneScalingTest<br></div><div><br></div><div>will result in X11GLDrawable -> nCreateDrawable to be called multiple times on the same test, while GLDrawable -> deleteDrawableInfo is never called, generating a leak (I think).</div><div><br></div><div>I can probably fix this, but I still have little knowledge on the es2 part, so any help would be appreciated.</div><div><br></div><div>-- Thiago.</div><div><br></div></div>
</blockquote></div>