mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-20 06:00:11 +00:00
Revert change for ContinuationQueue.RunCore
This commit is contained in:
@@ -171,8 +171,8 @@ namespace Cysharp.Threading.Tasks.Internal
|
|||||||
for (int i = 0; i < actionListCount; i++)
|
for (int i = 0; i < actionListCount; i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
ref var action = ref actionList[i];//Reduce array bounds check
|
var action = actionList[i];//Reduce array bounds check
|
||||||
|
actionList[i] = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
action();
|
action();
|
||||||
@@ -181,7 +181,6 @@ namespace Cysharp.Threading.Tasks.Internal
|
|||||||
{
|
{
|
||||||
UnityEngine.Debug.LogException(ex);
|
UnityEngine.Debug.LogException(ex);
|
||||||
}
|
}
|
||||||
action = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user