Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.5
-
Component/s: Taverna GUI
-
Labels:None
Description
When I am in the Design perspective and click on any other perspective I get:
WARN 2006-12-05 15:18:29,404 (org.embl.ebi.escience.scuflui.ScuflSVGDiagram:162) - Did not detachFromModel() before attachToModel()
This may cause memory leaks?!
This stems from the fact that when a new layout is configured, as the XML is parsed a new component is created (in ZBasePane.swap). This means that when it is a ZRavenComponent and setComponent is called, the old content is no longer there (i.e null) so deregisterComponent is not called, so it is not detached.