I've just had a very weird experience with the following question:
Moments after I posted an answer, the OP replied with a thank-you comment and immediately deleted the question including my answer. This is apparently allowed by the rules because my answer had no upvotes at that point (being only a couple of minutes old). Although I've obviously solved OP's issue, I would be much happier if the answer stayed around for the benefit of future readers.
Is there anything that can be done to discourage this behaviour, which doesn't seem to align with the core principles of SE?