mirror of https://github.com/Cysharp/UniTask
Adapt invocations to new parameter type
parent
b4eba9ad3a
commit
2492ea60c3
|
@ -166,7 +166,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.error = new ExceptionHolder(ExceptionDispatchInfo.Capture(error));
|
this.error = new ExceptionHolder(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (continuation != null || Interlocked.CompareExchange(ref this.continuation, UniTaskCompletionSourceCoreShared.s_sentinel, null) != null)
|
if (continuation != null || Interlocked.CompareExchange(ref this.continuation, UniTaskCompletionSourceCoreShared.s_sentinel, null) != null)
|
||||||
|
@ -635,7 +635,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
|
|
||||||
if (UnsafeGetStatus() != UniTaskStatus.Pending) return false;
|
if (UnsafeGetStatus() != UniTaskStatus.Pending) return false;
|
||||||
|
|
||||||
this.exception = new ExceptionHolder(ExceptionDispatchInfo.Capture(exception));
|
this.exception = new ExceptionHolder(exception);
|
||||||
return TrySignalCompletion(UniTaskStatus.Faulted);
|
return TrySignalCompletion(UniTaskStatus.Faulted);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -820,7 +820,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
|
|
||||||
if (UnsafeGetStatus() != UniTaskStatus.Pending) return false;
|
if (UnsafeGetStatus() != UniTaskStatus.Pending) return false;
|
||||||
|
|
||||||
this.exception = new ExceptionHolder(ExceptionDispatchInfo.Capture(exception));
|
this.exception = new ExceptionHolder(exception);
|
||||||
return TrySignalCompletion(UniTaskStatus.Faulted);
|
return TrySignalCompletion(UniTaskStatus.Faulted);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue