'House's' Lisa Edelstein implies Alan Thicke died to avoid Trump

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.”

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.