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
|
try
|
||||||
{
|
{
|
||||||
|
task.GetAwaiter().GetResult();
|
||||||
return new ReturnObservable<AsyncUnit>(AsyncUnit.Default);
|
return new ReturnObservable<AsyncUnit>(AsyncUnit.Default);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
Loading…
Reference in New Issue