Skip to content

Commit

Permalink
Re-enable async method state machine clearing test (#56007)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub authored Jul 21, 2021
1 parent f85f579 commit 9338fd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,7 @@ public static void CancellationDoesntResultInEventFiring()
TaskScheduler.UnobservedTaskException -= handler;
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/30122")]
[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsPreciseGcSupported))]
public static async Task AsyncMethodsDropsStateMachineAndExecutionContextUponCompletion()
{
// Create a finalizable object that'll be referenced by both an async method's
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ public void SuppressFlow_TaskCapturesContextAccordingly(bool suppressFlow)
}
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/30122")]
[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsPreciseGcSupported))]
public static async Task TaskDropsExecutionContextUponCompletion()
{
// Create a finalizable object that'll be referenced by captured ExecutionContext,
Expand Down

0 comments on commit 9338fd8

Please sign in to comment.