Fix: UniTask(not generics).ToObservable does not return error when task
Fix: UniTask(not generics).ToObservable does not return OnError when task status is already faulted or canceledmaster
parent
cdda33a98e
commit
308fef2859
|
@ -58,6 +58,7 @@ namespace Cysharp.Threading.Tasks
|
|||
{
|
||||
try
|
||||
{
|
||||
task.GetAwaiter().GetResult();
|
||||
return new ReturnObservable<AsyncUnit>(AsyncUnit.Default);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
Loading…
Reference in New Issue