I can't imagine how is this even a question. The wife crossed the line and being severely disrespectful to her husband. If she insists on not changing the situation and not drawing a clear line for her male friend, she's not his anymore.