-
Notifications
You must be signed in to change notification settings - Fork 36.8k
Closed
Description
- VSCode Version: 1.47.2 user setup
- OS Version: Windows 10
Steps to Reproduce:
- Clone my extension https://github.com/TomasHubelbauer/vscode-email-viewer and the repository in VS Code
- Go to debug by pressing F5
- Watch the extension host window pointed to the
demodirectory appear and selectreal.eml - Watch a progress indicator appear and go while the email file loads - this populates the cache from
cache.tsinextension.js - Watch a new workspace directory appear and list the correct entries (3 PNGs and 1 HTML file) as the cache now has an entry for the parsed contents of the
real.emlfile selected previously - Wait a bit
- Watch a spinner appear next to the already loaded and populated workspace directory node for the
real.emlfile virtual directory asstaton the FS provider is called again even though it was already called while populating the node initially - Watch an error message pop up because the
cache.tsmodule was reloaded for some reason and thisstatcall sees{}not the populated cache object which was initialized before when the progress indicator appeared after clickingreal.eml - See the debug console in VS Code proper (not the extension host window) and notice the Cache init line appear twice when it should have appeared once because it is in the
cache.tsmodule global context which to me is indicative of a JavaScript context change/reload? (But the window did not reload...) - Be confused
Does this issue occur when all extensions are disabled?: N/A
Metadata
Metadata
Assignees
Labels
No labels