Fix UniTask.Defer

master
neuecc 2020-06-05 00:43:03 +09:00
parent 1d90a40f66
commit f1ac469058
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ namespace Cysharp.Threading.Tasks
if (f == null) throw new InvalidOperationException("Can't call twice.");
task = f();
awaiter = f().GetAwaiter();
awaiter = task.GetAwaiter();
return task.Status;
}
@ -246,7 +246,7 @@ namespace Cysharp.Threading.Tasks
if (f == null) throw new InvalidOperationException("Can't call twice.");
task = f();
awaiter = f().GetAwaiter();
awaiter = task.GetAwaiter();
return task.Status;
}