The studio has fired James Gunn after the director made controversial comments on social media.

Sources told NBC News that Gunn was fired after posting a video of himself on Friday saying that the Terminator reboot “should be called ‘Terminator: The Terminator’ or something like that.”

Gunn also shared that he would “never” direct a feature film with a white actor.

“If you have a white dude in your cast, I’ll never get in the room,” Gunn said.

Gunn’s comments were widely condemned as racist and sexist, with many people saying that he should have been fired for it.

“I’m disgusted and shocked by this,” said former President of the Academy of Motion Picture Arts and Sciences, Academy President Cheryl Boone Isaacs.

“He’s a great actor, and we love him for his work, but this is something we have to confront in this country.”

Gillans comments came after reports that he was considering a script from director Joss Whedon.

The two worked together on “The Avengers” and “Joss Whedon Presents.”

In addition to “Guardians of the Galaxy,” Whedon is the executive producer on the upcoming “Guardian of the Crown.”