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

Fixes editor-area terminals are not restored after quit #168887

Merged
merged 2 commits into from
Dec 16, 2022

Conversation

jeanp413
Copy link
Contributor

@jeanp413 jeanp413 commented Dec 12, 2022

Fixes #168643

Regression from #165742

Problem is the order onWillShutdown event gets fired in terminalService, it could fire before TerminalEditorInput serialization happens which is also triggered by onWillShutdown event. so let's move that logic to the TerminalEditorInput itself as it's created much later, also remove shutdownPersistentProcessId as it was a workaround for this same issue

@Tyriar Tyriar added this to the January 2023 milestone Dec 16, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works 👍

@Tyriar Tyriar merged commit cb1113a into microsoft:main Dec 16, 2022
@jeanp413 jeanp413 deleted the fix-168643 branch December 16, 2022 15:52
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editor-area terminals are not restored after quit on 1.74.0
3 participants