You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var cancelled = await UniTask.Delay(10000, cancellationToken: m_Cts.Token).SuppressCancellationThrow();
Problem
// in IsCanceledSource
public bool GetResult(short token)
{
if (source.GetStatus(token) == UniTaskStatus.Canceled)
{
return true;
}
source.GetResult(token);
return false;
}
When the Task is cancelled, IsCanceledSource.GetResource return true directly,but DelayPromise.TryReturn is not called and this DelayPromise can not be recycled.
The text was updated successfully, but these errors were encountered:
Usage
var cancelled = await UniTask.Delay(10000, cancellationToken: m_Cts.Token).SuppressCancellationThrow();
Problem
When the Task is cancelled, IsCanceledSource.GetResource return true directly,but DelayPromise.TryReturn is not called and this DelayPromise can not be recycled.
The text was updated successfully, but these errors were encountered: