Revert change for ContinuationQueue.RunCore

This commit is contained in:
Ram.Type-0
2020-08-30 13:53:29 +09:00
parent ea950d8cec
commit 1f736afe86

View File

@@ -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;
} }
{ {