Fixed edit mode, clear continuations and runners on run mode change, edit mode unit tests

This commit is contained in:
Antonio
2019-09-09 13:07:56 +02:00
committed by Antonio Ruggiero
parent 50ba93f951
commit ecf6c1fba5
13 changed files with 1326 additions and 21 deletions

View File

@@ -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)