Skip to content

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

Merged
Tyriar merged 2 commits intomicrosoft:mainfrom
jeanp413:fix-168643
Dec 16, 2022
Merged

Fixes editor-area terminals are not restored after quit#168887
Tyriar merged 2 commits intomicrosoft:mainfrom
jeanp413:fix-168643

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