Should You Dump Your Boyf Before OR After his Friend’s Wedding?

I’ve been dating a guy who I’ll call Mitch for nine months, and recently I’ve been feeling like the relationship isn’t going to work out. He’s a great guy, but this isn’t a love connection for me. The problem is that his best friend is getting married in June, and I’m invited to the wedding.