If it happens to be a partner in a relationship in which you cannot disengage, the only solution is to find a way to make the person feel comfortable in expressing any negative feelings toward you and encouraging it. This may be hard to take initially, but it may defuse his or her need to be underhanded; and open criticisms are easier to deal with than covert sabotage.