Excellent. You handled that well, but you can't count on that strategy being effective forever.
She will find a way to make contact with you:
She knows your habits, stomping grounds, routine, friends, where you work, etc. It's unrealistic to think you will be able to avoid her forever...