On editor exit play mode

If you do c++ you can implement the BeginDestroy() and do Class specific stuff there