TV actress Lisa Edelstein is facing online backlash after tweeting a joke about the recent death of actor Alan Thicke.

“RIP Alan Thicke. Seems like everyone is checking out before the Trumpacolypse,” the former “House” star tweeted to her 93,000 followers.

RIP Alan Thicke. Seems like everyone is checking out before the Trumpacolypse. — Lisa Edelstein (@LisaEdelstein) December 14, 2016

Commenters said the tweet was hateful and insensitive.

“Absolutely insensitive and unnecessary. Someone’s father, husband & grandfather died today. Do not politicise it,” one Twitter user wrote.

“Trump may be many things, bit at least he’s not as vile and repugnant as @LisaEdelstein,” another wrote.

“Why would you do this? A simple RIP would suffice. What a sad soul you are,” wrote another.

Ms. Edelstein, who currently stars as Abby McCarthy in Bravo’s “Girlfriend’s Guide to Divorce,” didn’t bother to delete the tweet, and instead retweeted several posts criticizing President-elect Donald Trump.

Mr. Thicke died of a heart attack Tuesday at the age of 69.