Actress Lisa Edelstein is being slammed for a tweet she wrote following the death of star Alan Thicke.

“RIP Alan Thicke. Seems like everyone is checking out before the Trumpacolypse,” she tweeted.

The Twitterverse did not respond kindly to her quip.

One follower called the post “soulless” while another wrote, “@LisaEdelstein wow very classy. You should be ashamed of yourself.”

Some called the post “classless.”

@LisaEdelstein 1) he was Canadian. 2) A family lost a husband and a father. This is NOT the time for politics. — Delia Enriquez (@dfiregirl4) December 14, 2016 @LisaEdelstein Absolutely insensitive and unnecessary. Someone's father, husband & grandfather died today. Do not politicise it. — Janine (@LifeofJanine) December 14, 2016

The former “House” star, who currently stars in Bravo’s “Girlfriend’s Guide to Divorce,” did not seemed fazed by the backlash. She followed up her message by retweeting several anti-Trump posts.

"Growing Pains" star Thicke died suddenly on Tuesday at the age of 69.

A rep for Edelstein did not immediately return FOX411's request for comment.