Was it that she was talking about you or what was said about you that caused u to trigger?
Not that it matters actually. If you know it trggers you, remove yourself from the equation. I know when my wife starts texting, its time to take a walk.
Do you know all your triggers yet. I made myself a list, when they come up I get out, the gym, a walk, go outside and call a friend or family member, play a game on my phone. Its really allowed me to detach lately and not take it personally.
If you know the triggers in advance its a lot easier to deal with before the anxiety kixks in.