master
neuecc 2020-05-05 05:29:52 +09:00
parent 6e80295ec7
commit eb379903b8
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ using System.Threading;
namespace UniRx.Async.Internal
{
internal class ContinuationQueue
internal sealed class ContinuationQueue
{
const int MaxArrayLength = 0X7FEFFFFF;
const int InitialSize = 16;

View File

@ -178,7 +178,7 @@ namespace UniRx.Async
public TResult GetResult(short token)
{
ValidateToken(token);
if (!(completedCount == 0))
if (completedCount == 0)
{
throw new InvalidOperationException("not yet completed.");
}