I might be mistaken, but it seems deleteDrawableInfo is never called. I think it should be called when the platform View is replaced or when the window is closed.
Github search for deleteDrawableInfo https://github.com/search?q=repo%3Aopenjdk%2Fjfx%20deleteDrawableInfo&type=code Em ter., 24 de set. de 2024 às 09:07, Thiago Milczarek Sayão < thiago.sa...@gmail.com> escreveu: > Hi, > > While doing some work on replacing GLX with EGL I discovered a possible > leak. > > Running this test: > gradle -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests > SetSceneScalingTest > > 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). > > I can probably fix this, but I still have little knowledge on the es2 > part, so any help would be appreciated. > > -- Thiago. > >