Skip to content

Change to run detached.#8969

Merged
sean-mcmanus merged 5 commits intomainfrom
seanmcm/runDetached
Mar 9, 2022
Merged

Change to run detached.#8969
sean-mcmanus merged 5 commits intomainfrom
seanmcm/runDetached

Conversation

@sean-mcmanus
Copy link
Copy Markdown
Contributor

@sean-mcmanus sean-mcmanus commented Mar 4, 2022

This is required in order for cpptools to be guaranteed to shutdown cleanly (all destructors run and threads exited), because it may be blocked on cpptools-srv updating. In particular, temp files might not be properly deleted.

This change requires cpptools-side changes as well.

@sean-mcmanus sean-mcmanus requested a review from a team March 4, 2022 02:51
@bobbrow
Copy link
Copy Markdown
Member

bobbrow commented Mar 4, 2022

Why would we be blocked on cpptools-srv updating? We should terminate all of those processes immediately since they don't save any state that we care about (I thought we did this already). There is no need to wait for them to finish.

@sean-mcmanus
Copy link
Copy Markdown
Contributor Author

sean-mcmanus commented Mar 5, 2022

Why would we be blocked on cpptools-srv updating? We should terminate all of those processes immediately since they don't save any state that we care about (I thought we did this already). There is no need to wait for them to finish.

That's what the existing code does. I'm guessing it could lead to a corrupt ipch file, right?

@sean-mcmanus sean-mcmanus marked this pull request as ready for review March 8, 2022 21:33
@sean-mcmanus sean-mcmanus merged commit f4db8e9 into main Mar 9, 2022
@sean-mcmanus sean-mcmanus deleted the seanmcm/runDetached branch March 9, 2022 07:46
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 23, 2022
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.

3 participants