mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-21 23:59:34 +01:00
3544aabd5a
Fixes #164562 My previous fix was incorrect as it checked if the document existed by still consulting our `_documentCache`. When we are deleting/renaming an opened md document, it should pretty much always exist in our cache The fix is to instead treat `this.documents` and the file system as the source of truth when determining if the doc should be deleted or not