uint count = cutOffIndexArray.Count();
for (uint i = 0; i < count; i++)
{
- cutOffIndexArray.GetElementAt(i).Get(out cutOffIndex); // Gets the last index of text shown on the actual screen.
+ var temp = cutOffIndexArray.GetElementAt(i);
+ temp.Get(out cutOffIndex); // Gets the last index of text shown on the actual screen.
+ temp.Dispose();
// If markup is enabled, It should parse markup
if (label.EnableMarkup)