Guess it his wife after all, you said you are not anymore because he is married already and you are just communicating like friends no string attached . The earth is not dead when your ex got married so as your friendship will not end. Maybe be someday youl meet on an alley should you not greet him? Or else what are friends for only that, nothing else.