diff --git a/src/UniTask/Assets/Plugins/UniTask/Runtime/CancellationTokenExtensions.cs b/src/UniTask/Assets/Plugins/UniTask/Runtime/CancellationTokenExtensions.cs index c139acc..6575432 100644 --- a/src/UniTask/Assets/Plugins/UniTask/Runtime/CancellationTokenExtensions.cs +++ b/src/UniTask/Assets/Plugins/UniTask/Runtime/CancellationTokenExtensions.cs @@ -33,7 +33,7 @@ namespace Cysharp.Threading.Tasks var cts = new CancellationTokenSource(); ToCancellationTokenCore(task, cts).Forget(); - return CancellationTokenSource.CreateLinkedTokenSource(linkToken).Token; + return CancellationTokenSource.CreateLinkedTokenSource(cts.Token, linkToken).Token; } public static CancellationToken ToCancellationToken(this UniTask task)