When a destroy message is sent from an activity to a lifeline, it means that the following lifeline is not going to be executed and the flow will be stopped, as shown in the following diagram. It is called a destroy message because it destroys the activity flow:
A destroy message
Get Hands-On Object-Oriented Programming with C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.