Closing a PR or issue still makes it discoverable in PR/issue search results, as opposed to deleting an issue.