|Memory leak with EditingDomainActionBarContributor? [message #1741191]
||Tue, 23 August 2016 15:34
| Michael Longo
Registered: July 2015
I have an issue with one of my custom EMF editor. When I close the editor, it is not fully garbage collected.
My issue is that the editor itself is scattered into multiple pieces so I can't really remove all the references pointed by the editor itself, so I wanted to free the editor itself (which sound logic to me).
However, it is not freed, and when I take a look with memory analyzer and look at the path to the root, it is kept by its action bar contributor (EditingDomainActionBarContributor) via the attribute "activeEditor" (see screenshot).
When I dispose the editor, I call setActiveEditor(null), but it doesn't reset the attribute.
So my question: is it a normal behavior from EditingDomainActionBarContributor? Or am I missing something so obvious?
Powered by FUDForum
. Page generated in 0.03674 seconds