|Unregistering images when closing the diagram editor [message #648621]
||Thu, 13 January 2011 17:18
| Shenxue Zhou
Registered: July 2009
There seems no way to un-register images when closing diagram editor. DiagramEditorInternal's dispose() method would call ConfigurationProvider's dispose() method which in turn calls DiagramTypeProvider's dispose() method. But I've not found any direct/indirect references to the image provider during diagram editor's dispose call. |
In fact, I experimented with setting a break point on the constructor of my image provider. If I closed my diagram editor and re-opened it, I didn't get a break on the image provider's constructor. So the image provider is only initialized once and being held on to even after the diagram editor is disposed. This seems to be memory leaks.
Any idea on what's going on here?
Powered by FUDForum
. Page generated in 0.02847 seconds