Skip to content

Commit 3b20ff5

Browse files
committed
Fcs/module reader: fix cancellation checks were removed in release builds
1 parent 77db04f commit 3b20ff5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ReSharper.FSharp/src/FSharp/FSharp.ProjectModelBase/src/FSharpAsyncUtil.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Diagnostics;
32
using System.Threading;
43
using System.Threading.Tasks;
54
using FSharp.Compiler;
@@ -23,7 +22,6 @@ public static class FSharpAsyncUtil
2322

2423
private static readonly FSharpReadLockRequestsQueue ReadRequests = new();
2524

26-
[Conditional("JET_MODE_ASSERT")]
2725
public static void CheckAndThrow()
2826
{
2927
// If the FCS cancellation token is set, then this is FCS background analysis thread.

0 commit comments

Comments
 (0)