Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: ocroquette on May 10, 2007, 07:19:03 am
-
Hi
In an interaction diagram, I have objects 1 & 2.
Object 1 creates object 2 ("new"), and then sends a message to it.
If I just do that, EA will then automatically add a deletion of the object 2 right after.
Why is that? I want the object 2 to continue living, even after the end of the sequence!
Is it a bug?
-
I want the object 2 to continue living, even after the end of the sequence!
Unset the option "Tools > Options > Diagram > Sequence > Garbage Collect"
-
It makes sense, thanks a lot!
Bottom-line: you have to set the option THEN create your diagram. Already existing diagrams are not impacted by the option.
-
Actually, it is sufficient to close the diagram and open it again after having changed the setting.