The text plays on the double meaning of 'hung up'. One meaning is to end a phone call, and the other is a humorous take on the idea of someone physically hanging up or leaving during a sexual encounter due to being upset by the talking.
I was talking during sex and my girlfriend hung up .