Janeane Garofalo

What happens in Vegas, stays in Vegas. Unless it doesn't and you wind up married for 20 years.

That's exactly what happened to comedienne Janeane Garofalo, who revealed she only recently discovered she had been married for the past 20 years to former Big Bang Theory co-executive producer Rob Cohen.

Check out photos of Janeane Garofalo

"Rob and I got married, for real, which we had to have a notary dissolve not 30 minutes before we got here tonight," Garofalo said at a New York Comedy Festival event Saturday, according to The New York Post. "We were married for 20 years until this evening."

Garofalo said she and Cohen married in Las Vegas in the early '90s when they were dating and working together on The Ben Stiller Show. She and Cohen — who is getting ready to walk down the aisle in the near future — discovered their union thanks to his lawyer. "We dated for a year, and we got married at a drive-through chapel in a cab. [We thought] you have to go down to the courthouse and sign papers and stuff, so who knew? We were married, and apparently now that [Rob] is getting married for real, his lawyer dug up something."

According to the Post, Cohen is now engaged Jimmy Kimmel Live producer Jill Leiderman.