He throws the gun right before he turns around towards the officer. Not that it will matter to the rioters.