Old flame?

Come on, that is a bit of a corny way to put it but to be serious, I think you made the right decision breaking up with your boyfriend. My best friend who is bisexual was in a similar situation to you a few years ago with another woman she had been in love for over twenty years but didn’t know she had the exact same feelings for her until she got engaged to a guy and I encouraged her to break up with her boyfriend and be with her best friend and they have been happily together since.
Who knows? Maybe this other guy is the one for you. Life is too short to waste on relationships with people you don’t really love and you should follow your heart and don't look back.