That's an interesting way to investigate how much public policy surrounding schools is actually focused on student education. I think you'd find that there would be significant fear around crime in an environment that already has a heightened risk of riots. For younger students the debate would shift to burden of additional childcare.
Not sure about the rioting part, maybe in some places on earth, but I'd say the burden of additional childcare is obviously an issue. So is just missing those hours of education.
Which is why perhaps classes should not be suspended in most and less extreme cases, but rather adjusted. And good teachers are already doing that. (And long-term, AC has to be a thing.)