It has happened do not worry. When you see him next time you will ignore him, look through him, pretend he is not there. Next time you know better.
Whatever he may think you do not know, do not let this bother you. It is an assumption that makes you feel uneasy.
Do not try to read his mind. Focus on yourself and think of how much you have achieved since he is out of your life.
I hope you stop loving him and you love yourself instead 🙂 xxxxx