Fix UniTask.ReturnToCurrentSynchronizationContext
parent
f1ac469058
commit
ebd80243e0
|
@ -351,6 +351,8 @@ namespace Cysharp.Threading.Tasks
|
|||
{
|
||||
get
|
||||
{
|
||||
if (!dontPostWhenSameContext) return false;
|
||||
|
||||
var current = SynchronizationContext.Current;
|
||||
if (current == synchronizationContext)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue