Kaley Cuoco Sports Short Shorts on Night Out With Her Ex, Johnny Galecki

Kaley Cuoco and Johnny Galecki are still the best of friends.

Who says exes can't be great friends?

The Big Bang Theory
costars and real-life exes Kaley Cuoco and Johnny Galecki hung out together on Thursday night at the Fallout 4 video game launch in Los Angeles, and looked closer than ever. Kaley even gave Johnny a friendly hug inside the event, showing off her toned physique in a white halter top and black shorts.

Getty Images

WATCH: Why Kaley Cuoco Ended Her Marriage With Ryan Sweeting

The two were also joined by Cuoco's sister, Bri Cuoco.

"So fun tonight!" Cuoco Instagrammed alongside a group shot of the trio.

Cuoco, 29, and Galecki, 40, secretly dated for almost two years before splitting in 2010. "It was a wonderful relationship but we never spoke a word about it and never went anywhere together," the actress told CBS! Watch magazine in 2010. "We were so protective of ourselves and the show and didn't want anything to ruin that."

Although plenty of Big Bang Theory fans were hoping the two would rekindle their relationship after Cuoco filed for divorce from her ex, tennis pro Ryan Sweeting, in September, the close costars slammed all the dating rumors last month.

"So sorry to disappoint, but no home wreckers or secret flings going on here," Cuoco Instagrammed alongside a cute photo of the two giving each other a fist bump. "Me and @sanctionedjohnnygalecki are just the best of buds- Leonard and Penny will just have to suffice!!!"

"No scandals / home wreckers / pregnancies here, y'all," Galecki echoed. "Just profound friendship."

A week before Cuoco announced her split with Sweeting, the actress actually said that Sweeting "loves" Galecki despite their romantic history.

"He's one of my dearest friends and Ryan loves him. Johnny loves [Ryan]," she said during her September appearance on Watch What Happens Live. "I got lucky."

WATCH: Ryan Sweeting Seeks Spousal Support From Kaley Cuoco

"Well, we dated like five years ago, so I think we both moved on," she also explained about how the two are able to remain such good pals. "Johnny is actually one of my best friends. It’s a situation that ended well. I understand sometimes it doesn’t. It could have gone horrible."

Watch below: