Merge pull request #418 from adarapata/fix-asyncenumerable-cancel

Fix UnityEventHandlerAsyncEnumerator cancellation
master
Yoshifumi Kawai 2022-11-01 20:39:22 +09:00 committed by GitHub
commit 710d0d9012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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