When someone exits your life, you need to remember that everything happens for a reason. You need to know that even though it may be tough in the beginning to have someone leave, but that you can survive it. This doesn't just apply to relationships, but friendships too.
I must say that I think the best way to deal with an exit is to eat. But after you are done comfort eating, confide in some friends; or go and make some new ones.