Skip to content

Commit 7f00027

Browse files
authored
[browser] Coalesce ifdef blocks (dotnet#113284)
1 parent 7eb07dd commit 7f00027

File tree

1 file changed

+0
-3
lines changed
  • src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript

1 file changed

+0
-3
lines changed

src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/CancelablePromise.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ public static unsafe void CancelPromise(Task promise)
2626
}
2727
Interop.Runtime.CancelPromise(holder.GCHandle);
2828
#else
29-
30-
#if FEATURE_WASM_MANAGED_THREADS
3129
lock (holder.ProxyContext)
32-
#endif
3330
{
3431
if (promise.IsCompleted || holder.IsDisposed || holder.ProxyContext._isDisposed)
3532
{

0 commit comments

Comments
 (0)