The other person didn't ask for forgiveness.
We do not know what happened to either of them.
We do not know if the woman took advantage of the
opportunity to repent.
We are all given an opportunity to repent, but
it is up to us if we take advantage of the opportunity.
There is no evidence that she repented from the John 8 passage. She just walked away. I think it is likely that she did, but I don’t think the main point of the passage is Jesus offering forgiveness; it is just a more dramatic example of him condemning those who point out the mote in their neighbor’s eye while missing the beam in their own.