Would you leave?

Tonight I overheard my boyfriends friend saying I know this girl you would love to smash and my boyfriend said let’s get on it then and he said she’s married and he said I don’t care and then said just joking, I flipped out and now we are taking space because he got mad that he can’t joke about stuff. It’s a seven year relationship so it’s so hard.