fix: Fixes ref list infinite loop (#1142)

This commit is contained in:
Kamron Batman 2022-08-21 14:04:29 -07:00 committed by GitHub
parent b4d4706c90
commit 946a2acabf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1116,7 +1116,7 @@ public ref struct PooledRefList<T>
{
ThrowEnumerationNotStartedOrEnded();
}
return Current;
return _current;
}
}