Token was incorrectly specified.

This commit is contained in:
imo
2022-11-01 20:12:55 +09:00
parent 38f8193199
commit de38f63a55

View File

@@ -673,7 +673,7 @@ namespace Cysharp.Threading.Tasks
} }
if (cancellationToken2.CanBeCanceled) if (cancellationToken2.CanBeCanceled)
{ {
registration2 = cancellationToken1.RegisterWithoutCaptureExecutionContext(cancel2, this); registration2 = cancellationToken2.RegisterWithoutCaptureExecutionContext(cancel2, this);
} }
} }