/// <summary> /// Clears the item if necessary before putting it back into the pool. /// </summary> /// <param name="item">The item to clear.</param> protected override void Clear(List <AsyncLogEventInfo> item) { for (int x = 0; x < item.Count; x++) { LogEventInfo info = item[x].LogEvent; if (info != null) { info.PutBack(); } } item.Clear(); }