Skip to content
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

Always check pid before clearing workspace #1321

Merged

Conversation

ElianHugh
Copy link
Collaborator

Ensure that we aren't clearing the workspace too eagerly.

  • Only clean the workspace if the current pid === stored pid

What problem did you solve?

If you attach two terminals, closing the first one will cause vscode-R to detach the second one

Ensure that we aren't clearing the workspace too eagerly.
R/session/vsc.R Outdated Show resolved Hide resolved
@renkun-ken renkun-ken merged commit bb929c4 into REditorSupport:master Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants