Endings – elegant or otherwise

How damaging is it when a team member leaves the company for a competitor and trashes everything about your organization on the way out?  Have you had this happen to you? Have you done it yourself?