Open ZiqiuZeng opened 1 year ago
This sequence diagram is correct because it terminates upon returning the flow of control to CLIAlgo. There are no method calls to command after the deletion.
Team chose [response.Rejected
]
Reason for disagreement: When the Command object is responsible for returning the flow of control, and is still executing code that interacts with the CLIAlgo object, it cannot be deleted until that code completes execution and the Command object goes out of scope.
The deletion of the
Command
object is not accurate, the lifeline of theCommand
object cannot terminate while it is still "interacting" with theCLIAlgo
object.