Skip to content

Commit 3075b8f

Browse files
committed
Update CoroutineWrapper.cs
1 parent 7b45498 commit 3075b8f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: Runtime/Coroutines/CoroutineWrapper.cs

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Reflection;
66
using System.Text;
77
using System.Threading;
8-
using UnityEditorInternal;
98
using UnityEngine;
109

1110
namespace Gameframe.Async.Coroutines
@@ -19,7 +18,7 @@ public class CoroutineWrapper
1918
public CoroutineWrapper()
2019
{
2120
}
22-
21+
2322
public CoroutineWrapper(CancellationToken token)
2423
{
2524
_token = token;
@@ -33,7 +32,7 @@ public CoroutineAwaiter GetAwaiter()
3332
}
3433
return _awaiter;
3534
}
36-
35+
3736
public IEnumerator Run(IEnumerator coroutine)
3837
{
3938
_processStack.Push(coroutine);
@@ -69,11 +68,11 @@ public IEnumerator Run(IEnumerator coroutine)
6968
yield return currentCoroutine.Current;
7069
}
7170
}
72-
71+
7372
}
7473

7574
_awaiter?.Complete(null);
7675
}
7776
}
78-
77+
7978
}

0 commit comments

Comments
 (0)