mirror of https://github.com/Cysharp/UniTask
Exception not prompted when using UniTask
parent
1895a271b7
commit
db36348997
|
@ -59,13 +59,13 @@ namespace Cysharp.Threading.Tasks
|
||||||
return exception;
|
return exception;
|
||||||
}
|
}
|
||||||
|
|
||||||
~ExceptionHolder()
|
//~ExceptionHolder()
|
||||||
{
|
//{
|
||||||
if (!calledGet)
|
// if (!calledGet)
|
||||||
{
|
// {
|
||||||
UniTaskScheduler.PublishUnobservedTaskException(exception.SourceException);
|
// UniTaskScheduler.PublishUnobservedTaskException(exception.SourceException);
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Auto)]
|
[StructLayout(LayoutKind.Auto)]
|
||||||
|
|
Loading…
Reference in New Issue