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

Update to latest async lightbulb api #55207

Open
wants to merge 1 commit into
base: main-vs-deps
Choose a base branch
from

Conversation

@CyrusNajmabadi
Copy link
Contributor

@CyrusNajmabadi CyrusNajmabadi commented Jul 29, 2021

No description provided.

@CyrusNajmabadi CyrusNajmabadi requested review from dotnet/roslyn-ide as code owners Jul 29, 2021
@CyrusNajmabadi CyrusNajmabadi requested review from dibarbet and AmadeusW Jul 29, 2021
{
// Always ensure that all the collectors are marked as complete so we don't hang the UI.
foreach (var collector in collectors)
collector.Complete();

This comment has been minimized.

@CyrusNajmabadi

CyrusNajmabadi Jul 29, 2021
Author Contributor

@AmadeusW i hope this is ok. First, i really don't want to have to keep track of what collectors i already called Complete on. Second, it feels weird that the callee needs to do this. the caller can just move all collectors to the completed state once the async call has completed.

@@ -39,7 +39,6 @@ internal static class WellKnownExperimentNames
public const string OOPServerGC = "Roslyn.OOPServerGC";
public const string LspTextSyncEnabled = "Roslyn.LspTextSyncEnabled";
public const string ImportsOnPasteDefaultEnabled = "Roslyn.ImportsOnPasteDefaultEnabled";
public const string LspTextSyncEnabled = "Roslyn.LspTextSyncEnabled";

This comment has been minimized.

@CyrusNajmabadi

CyrusNajmabadi Jul 29, 2021
Author Contributor

some bad earlier merge caused this. it's already defined two lines above, so this was causing a build break

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant