I tend to err on the side of burning as few bridges as possible, but it really depends on the situation and why it's toxic. In my particular case, I didn't quit my job, but moved to a different team within the same company. I think that was only possible because I continued to do good work and tuned out the trigger to the toxic situation (a person and their comments on gender and masculinity).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I tend to err on the side of burning as few bridges as possible, but it really depends on the situation and why it's toxic. In my particular case, I didn't quit my job, but moved to a different team within the same company. I think that was only possible because I continued to do good work and tuned out the trigger to the toxic situation (a person and their comments on gender and masculinity).