Losing XP

My is crashing very often now. I’ve turned graphics down but I’m not asking how to stop it. Will I still get my do even though my game crashed? Thanks

I believe after a period of time within your flight, (maybe every ten minutes) the XP saves to your stats as I have noticed when I fly the XP is going up.