mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-04 07:49:28 +00:00
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