Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Unregistering images when closing the diagram editor
Unregistering images when closing the diagram editor [message #648621] Thu, 13 January 2011 17:18 Go to previous message
Shenxue Zhou is currently offline Shenxue ZhouFriend
Messages: 60
Registered: July 2009
Member
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?

Thanks!

Shenxue
 
Read Message
Read Message
Read Message
Previous Topic:Graphiti releases download site url format
Next Topic:Create object on dropping connection to diagram
Goto Forum:
  


Current Time: Wed Sep 06 00:49:33 GMT 2023

Powered by FUDForum. Page generated in 0.01159 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top