-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Wait for reverse oop-to-host asset-sync calls to finish before the last oop call returns back to the host. #63122
Conversation
…st oop call returns back to the host.
src/Workspaces/Remote/ServiceHub/Host/RemoteWorkspace.InFlightSolution.cs
Outdated
Show resolved
Hide resolved
/// unpinning the solution on the host) while the solution-computation tasks are still running and may still | ||
/// attempt to call into the host. | ||
/// </summary> | ||
public ImmutableArray<Task> DecrementInFlightCount_NoLock() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i was considering having this return a Task that represented what the caller should await on. however, we don't want this call awaited while in the state-lock, so that could be very confusing. instead, we want this to run synchronously, clean up everything properly, then return the Task/Tasks the caller should await outsdie of hte lock. So this is a bit clearer in that regard (imo).
No description provided.