We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b45498 commit 3075b8fCopy full SHA for 3075b8f
Runtime/Coroutines/CoroutineWrapper.cs
@@ -5,7 +5,6 @@
5
using System.Reflection;
6
using System.Text;
7
using System.Threading;
8
-using UnityEditorInternal;
9
using UnityEngine;
10
11
namespace Gameframe.Async.Coroutines
@@ -19,7 +18,7 @@ public class CoroutineWrapper
19
18
public CoroutineWrapper()
20
{
21
}
22
-
+
23
public CoroutineWrapper(CancellationToken token)
24
25
_token = token;
@@ -33,7 +32,7 @@ public CoroutineAwaiter GetAwaiter()
33
32
34
return _awaiter;
35
36
37
public IEnumerator Run(IEnumerator coroutine)
38
39
_processStack.Push(coroutine);
@@ -69,11 +68,11 @@ public IEnumerator Run(IEnumerator coroutine)
69
68
yield return currentCoroutine.Current;
70
71
72
73
74
75
_awaiter?.Complete(null);
76
77
78
79
0 commit comments