Indications are that the window was closed at the time of the shooting. Unless she is able to articulate very well as to why he was an immediate threat at the time that she fired (and in court she just needs to be able to articulate it from her point of view), it is not going to go well for her in court.
There does not seem to be any indication that he was armed, that there was a weapon in the vehicle, or that he was going to assault anyone. He was acting strange, which we now know was most likely from the PCP, and not complying with her commands to come to her and not go to the car.
Now, since he was on PCP, there's a good chance that he was not going to comply with anything the police wanted and will most likely have fought any kind of effort to detain or arrest him, but that hadn't happened yet.
- Merg