I think we can lose the `previous` prefix for this as it implies something like exits-that-happended-before when actually it's more the-current-exit-stack