mirror of https://github.com/Cysharp/UniTask
Remove comments
parent
725b2fdc35
commit
227f7872cb
|
@ -164,9 +164,8 @@ namespace Cysharp.Threading.Tasks
|
||||||
}
|
}
|
||||||
else if (current is CustomYieldInstruction cyi)
|
else if (current is CustomYieldInstruction cyi)
|
||||||
{
|
{
|
||||||
//https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Scripting/CustomYieldInstruction.cs
|
|
||||||
// WWW, WaitForSecondsRealtime
|
// WWW, WaitForSecondsRealtime
|
||||||
while (cyi.keepWaiting)//Use keepWaiting instead of MoveNext to avoid virtual call
|
while (cyi.keepWaiting)
|
||||||
{
|
{
|
||||||
yield return null;
|
yield return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue