docs: Resolving closure warning

This commit is contained in:
Chris Cameron
2018-04-10 14:02:13 -04:00
parent 8d753e1cf9
commit b24c93df09

View File

@@ -140,6 +140,7 @@ namespace ICD.Common.Utils.Timers
{ {
using (IEnumerator<T> enumerator = enumerable.GetEnumerator()) using (IEnumerator<T> enumerator = enumerable.GetEnumerator())
{ {
// ReSharper disable once AccessToDisposedClosure
while (Profile(() => enumerator.MoveNext(), name)) while (Profile(() => enumerator.MoveNext(), name))
yield return enumerator.Current; yield return enumerator.Current;
} }