-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log entries are not cleaned up when using "Restart server" #12469
Comments
Given you said you use this often and you are only reporting this now I assume this is a recent regression? And if that's the case are you using the nightly r-a? Wanna make sure whether this might be the request retry PR or not Edit: Doesn't seem to a recent regression, latest stable triggers this as well so its not the rety PR (I also noticed sem highlighting erroring when restarting the server while its initializing) |
Not a regression, but make sure to disable tracing if you have it enabled. |
This also duplicates the |
I use the restart command often, but I don't look at the logs very often so I only noticed it today. I am indeed using nightly.
I disabled tracing which stops any output from being shown, but it seems that the entries in the menu are still duplicated. |
Ye it seems we don't dispose of/reuse the channels when restarting |
Tangentially, when changing the build target ( |
Ye I think we can downgrade that to a server restart instead |
fix: Restart the server instead of reloading the window when config changes cc #12469 (comment)
I often use the "Restart server" command to reload rust analyzer when switching between build targets. I noticed that rust analyzer seems to create a new entry in the vscode output view every time the server is restarted. Is something not being cleaned up properly?
The text was updated successfully, but these errors were encountered: