You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change resolves a potential deadlock issue by using IProjectFaultHandlerService.Forget to call OnAfterLaunchAsync
The pattern ensures that post-launch async work completes while avoiding deadlocks that could occur when ExecuteSynchronously blocks on async work that needs UI thread access.
Signed-off-by: Phil Henning <[email protected]>
Copy file name to clipboardExpand all lines: src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Debug/LaunchProfilesDebugLaunchProvider.cs
+17-8Lines changed: 17 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -24,17 +24,20 @@ internal class LaunchProfilesDebugLaunchProvider : DebugLaunchProviderBase, IDep
Copy file name to clipboardExpand all lines: tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/ProjectSystem/VS/Debug/LaunchProfilesDebugLaunchProviderTests.cs
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -113,11 +113,13 @@ public async Task LaunchWithProfileAsync_WhenNotProjectCommand_DoesNotCreateHotR
0 commit comments