The mob may leave after the destruction, but that doesn't mean that the police don't later conduct investigations, arrests, etc based on tracking/video of the members of that mob.
I'm curious how many protestors or rioters keep their phones on them (with location/COVID apps or otherwise.) Even if they don't, plenty of others are taking the videos.