Netflix has canceled the premiere party for the second season of "13 Reasons Why" following a school shooting in Santa Fe, Texas.

Netflix released a statement to Buzzfeed News, stating, "Our hearts are with the victims of the Santa Fe High School shooting, and with all victims of gun violence. In light of today's tragedy, we are canceling the "13 Reasons Why" S2 premiere event tonight."

The show's second season was released on Netflix earlier today. This season of the teen drama features a scene in which a student character brings a gun to a school event with the intention of killing their classmates.

The school shooting tragedy in Texas

Nine students and one member of staff were killed Friday morning, May 18, in a shooting at Santa Fe High School in Texas.

CNN reported that police have a suspect, Dimitrios Pagourtzis, in custody. Pagourtzis was a student at the school and was absent from classes in the several days leading up to the shooting. His classmates describe him as quiet and as someone who experienced bullying by his peers.

CNN also reported that the suspect had journals expressing his desire to carry out the shooting and to commit suicide afterward. The shooter instead surrendered after the crime. Texas governor Greg Abbott commented that there were no warning signs or red flags on Pagourtzis's social media accounts.

The only evidence of a possible threat was a photo of a custom t-shirt with the phrase "born to kill" on Pagourtzis' Facebook page. Facebook has since removed the profile, in accordance with their policy regarding mass shooters.

'13 Reasons Why' has been the subject of controversy before

The Netflix original series "13 Reasons Why" revolves around the aftermath of a high school student's suicide.

The student, Hannah Baker, leaves behind a box of cassette tapes recorded before her suicide that detail thirteen reasons why she ended her life.

The show has been criticized for its graphic portrayal of self-harm and suicide. Educators especially raised the alarm, with some schools reporting an increase in suicidal and self-harm behaviors among students.

According to the United States Society of Clinical Child and Adolescent Psychology (SCCAP), the show could serve as a trigger for self-harm among vulnerable youth. They also criticized the show's depiction of mental health professionals as an ineffective source for suicide and self-injury prevention.

The complaints prompted Netflix to add advisory warnings before the first, twelfth, and thirteenth episodes of season one.

While the first season received positive reviews, reactions to the second season have been mixed, with a 33 percent approval rating on Rotten Tomatoes.