As the other commentators said in the prior chapter, it was an unhealthy codependency, so ending it was the right move. But interesting to see that she ended it on her terms and, for her personality, in a pretty nice way.
This is probably the closest to a realistic happy end you can reach with a situation like this.