Revert change for ContinuationQueue.RunCore

pull/147/head
Ram.Type-0 2020-08-30 13:53:29 +09:00
parent ea950d8cec
commit 1f736afe86
1 changed files with 2 additions and 3 deletions

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