@@ -32,7 +32,7 @@ namespace Microsoft.VisualStudio.ProjectSystem.LanguageServices;
3232[ Export ( typeof ( IWorkspaceWriter ) ) ]
3333[ Export ( ExportContractNames . Scopes . UnconfiguredProject , typeof ( IProjectDynamicLoadComponent ) ) ]
3434[ AppliesTo ( ProjectCapability . DotNetLanguageService ) ]
35- internal sealed class LanguageServiceHost : OnceInitializedOnceDisposedUnderLockAsync , IProjectDynamicLoadComponent , IWorkspaceWriter
35+ internal sealed class LanguageServiceHost : OnceInitializedOnceDisposedAsync , IProjectDynamicLoadComponent , IWorkspaceWriter
3636{
3737 private readonly TaskCompletionSource _firstPrimaryWorkspaceSet = new ( ) ;
3838
@@ -130,7 +130,7 @@ protected override async Task InitializeCoreAsync(CancellationToken cancellation
130130 // We track per-slice data via this source.
131131 _activeConfigurationGroupSubscriptionService . SourceBlock . SyncLinkOptions ( ) ,
132132 target : DataflowBlockFactory . CreateActionBlock < IProjectVersionedValue < ( ConfiguredProject ActiveConfiguredProject , ConfigurationSubscriptionSources Sources ) >> (
133- async update => await ExecuteUnderLockAsync ( cancellationToken => OnSlicesChanged ( update , cancellationToken ) ) ,
133+ update => OnSlicesChanged ( update , cancellationToken ) ,
134134 _unconfiguredProject ,
135135 ProjectFaultSeverity . LimitedFunctionality ,
136136 "LanguageServiceHostSlices {0}" ) ,
@@ -341,7 +341,7 @@ public async Task AfterLoadInitialConfigurationAsync()
341341 _projectFaultHandler . Forget ( result , _unconfiguredProject , ProjectFaultSeverity . LimitedFunctionality ) ;
342342 }
343343
344- protected override Task DisposeCoreUnderLockAsync ( bool initialized )
344+ protected override Task DisposeCoreAsync ( bool initialized )
345345 {
346346 _firstPrimaryWorkspaceSet . TrySetCanceled ( ) ;
347347
0 commit comments