Skip to content

Commit 638438f

Browse files
authored
Merge pull request #8779 from drewnoakes/async-continuation
Ensure continuation runs asynchronously
2 parents 8396e0c + 47741ba commit 638438f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/VsSolutionEventListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ internal class VsSolutionEventListener : OnceInitializedOnceDisposedAsync, IVsSo
1919
{
2020
private readonly IVsUIService<IVsSolution> _solution;
2121

22-
private TaskCompletionSource _loadedInHost = new();
22+
private TaskCompletionSource _loadedInHost = new(TaskCreationOptions.RunContinuationsAsynchronously);
2323
private IAsyncDisposable? _solutionEventsSubscription;
2424

2525
[ImportingConstructor]

0 commit comments

Comments
 (0)