Re: [VFS] Duplicate Listeners

2024-05-23 Thread Gary D. Gregory
Hi Bernd, Thank you for researching this issue and presenting your findings. In 2.9.0, we had (as you found): public static void installListener(final FileObject file, final FileListener listener) { final WeakRefFileListener weakListener = new WeakRefFileListener(file, listener);

[VFS] Duplicate Listeners

2024-05-23 Thread Bernd Eckenfels
Hello, I am dealing with a heapdump of VFS where I see a lot of WeakRefFileListener and all of them have a empty WeakRef to no listener. While I think I found the reason for that and fixed it on a dependent project, it still does not clean up correctly. I think the reason is that it does not store