You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marking this as verified as I don't have verification steps. I believe it was the result a race condition similar to the following:
We request a list of refactorings from TS Server
These are shown to the user
While the user is selecting a refactoring, something causes the current file to be closed on the TS Server
The user then accepts a refactoring
While resolving the refactoring, we send another request to the TS Server using the old file that has since been closed. This is where the crash happened
My fix was to check again if the file is opened in step 5
Steps to Reproduce:
Issue transfer from microsoft/TypeScript#32827
From the server log the command
getApplicableRefactors
is called before opening the file.Does this issue occur when all extensions are disabled?: Yes/No
The text was updated successfully, but these errors were encountered: