-
Notifications
You must be signed in to change notification settings - Fork 40.3k
unable to open filename.js: Model is disposed! #133923
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priorityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priorityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Type
Fields
Give feedbackNo fields configured for issues without a type.
I have inlayHints turned on for TypeScript, as well as bracket pair and guide colorization.
I was searching through a number of files, clicking on each one pretty quickly, and then at some point I started getting an error
Unable to open file: Model is disposed!.clone the TypeScript repository
set the following settings:
In the Search View, look for
const enum(this is the exact query i was using)Now pretty rapidly start clicking on files in the search results pane
Eventually (after clicking on like 15 to 20 files), especially after opening something large like
tsc.js, you'll get the Model is disposed error.When I checked the console for errors, I found this stack trace that referenced
bracketMatching.tsa few times, so I'm not sure if its related or coincidence.also saw this call stack