Skip to content

Commit

Permalink
Remove call that only works on .NET 8+
Browse files Browse the repository at this point in the history
  • Loading branch information
menees committed Oct 12, 2024
1 parent e925f62 commit d9811fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Menees.Remoting.Tests/MessageNodeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public async Task CancellationAsync()
ex.ShouldBeOfType<OperationCanceledException>();
}

#if NETCOREAPP
#if NET8_0_OR_GREATER
await serverCancellationSource.CancelAsync().ConfigureAwait(false);
#else
serverCancellationSource.Cancel();
Expand Down

0 comments on commit d9811fa

Please sign in to comment.