Updated

Comedian Larry Wilmore's late-night talk show "The Nightly Show" was canceled by Comedy Central earlier this week due to lackluster ratings. Thursday's episode was the last one, and Wilmore gave his show a bittersweet send-off, with an assist from Jon Stewart.

Wilmore's old "Daily Show" boss (and "Nightly Show" executive producer) stopped by to drop off a bottle of champagne. "Did you piss off Peter Thiel?" Stewart joked, referencing the tech billionaire's takedown of Gawker.com.

Stewart told Wilmore he loves him and advised him "do not confuse cancellation with failure."

At the end of the show, Wilmore gave his final sign off, thanking Comedy Central, Jon Stewart, the staff of "The Nightly Show," his fans and even his haters.

And he kept it 100 with his last four words: "I'm not done yet."

Wilmore hasn't announced his next move yet, but he has other projects he could get more involved in -- he's an executive producer on ABC's "Black-ish" and HBO's upcoming sitcom "Insecure."

"The Nightly Show's" 11:30 p.m. time slot will be filled by"@midnight" for the time being while Comedy Central looks for a permanent replacement.