mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-16 12:00:10 +00:00
more more
This commit is contained in:
@@ -62,12 +62,12 @@ namespace UniRx.Async
|
||||
|
||||
for (int i = 0; i < tasksLength; i++)
|
||||
{
|
||||
if (tasks[i].IsCompleted)
|
||||
if (tasks[i].Status.IsCompleted())
|
||||
{
|
||||
T value = default(T);
|
||||
try
|
||||
{
|
||||
value = tasks[i].Result;
|
||||
value = tasks[i].GetAwaiter().GetResult();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -189,11 +189,11 @@ namespace UniRx.Async
|
||||
|
||||
for (int i = 0; i < tasksLength; i++)
|
||||
{
|
||||
if (tasks[i].IsCompleted)
|
||||
if (tasks[i].Status.IsCompleted())
|
||||
{
|
||||
try
|
||||
{
|
||||
tasks[i].GetResult();
|
||||
tasks[i].GetAwaiter().GetResult();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user