EXP gain after leaving. No penalty in comp?

Noticed after I left after a comp game I still gained exp after that match ended. When I quit I had no exp gained. Match ended and gained exp in my profile. Then I was able to join a new game

Leaving a comp game counts as a lost game if you do not rejoin by the end of the match.