True, Roseanne got canceled after she went on a racist tweeting spree, but she was also widely known in Hollywood as a horrible, toxic person. It seemed to me the racist tweeting spree was more or less an excuse to get rid of her.
Jay Thurber Show
Roseanne's show got canceled in 2018 after she went on a racist tweeting spree. But I really can't think of anything in the past, say, 5 years, where this really applies.