Fixed nested IEnumerator does not consumed

master
Kazunori Tamura 2019-06-28 10:24:31 +09:00
parent d98ceadfe9
commit fed4ba76b5
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ namespace UniRx.Async
} }
else if (current is IEnumerator e3) else if (current is IEnumerator e3)
{ {
while (e3.MoveNext()) var e4 = ConsumeEnumerator(e3);
while (e4.MoveNext())
{ {
yield return null; yield return null;
} }