mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-18 05:00:14 +00:00
Fixed edit mode, clear continuations and runners on run mode change, edit mode unit tests
This commit is contained in:
committed by
Antonio Ruggiero
parent
50ba93f951
commit
ecf6c1fba5
@@ -45,6 +45,17 @@ namespace UniRx.Async.Internal
|
||||
}
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
lock (arrayLock)
|
||||
{
|
||||
for (var index = 0; index < loopItems.Length; index++)
|
||||
{
|
||||
loopItems[index] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Run()
|
||||
{
|
||||
lock (runningAndQueueLock)
|
||||
|
||||
Reference in New Issue
Block a user