Let's say a user who we'll call "Jim" has raised X number of flags on various posts around a particular Stack Exchange. Those flags haven't been resolved yet by a moderator, i.e., they haven't been marked as helpful / declined / disputed.
Jim then asks for his account to be deleted, and it's deleted. What happens to the unresolved flags that Jim has raised? Are they automatically removed from the moderators' flag review queue before they've been marked as resolved, or do they remain in the queue until they've been resolved (like normally)?