You should leave the information on the thread so its there for future reference.
Say someone in the future has the same problem you had (which was solved but has been edited away).
They make the post, wait for someone to reply depending on what it is it could take days before a solution is found but if a thread where it had occurred before had not been edited and essentially deleted, then the answer would have been there straight up.
Not digging just making a point.