mirror of https://github.com/Cysharp/UniTask
Merge 716402a180
into 4c3d6938ed
commit
280b309e26
|
@ -257,10 +257,9 @@ namespace Cysharp.Threading.Tasks
|
||||||
|
|
||||||
void OnUpdate()
|
void OnUpdate()
|
||||||
{
|
{
|
||||||
originalUpdateAction?.Invoke();
|
|
||||||
|
|
||||||
if (!cancellationToken.IsCancellationRequested)
|
if (!cancellationToken.IsCancellationRequested)
|
||||||
{
|
{
|
||||||
|
originalUpdateAction?.Invoke();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue