/// <summary>
 /// Internal function to return objects to the pool.
 /// </summary>
 /// <param name="finished">The object to be returned.</param>
 internal override void returnObject(PooledObject finished)
 {
     finished.callReset();
     pool.Push((PooledType)finished);
 }
Beispiel #2
0
 /// <summary>
 /// Internal function to return finished objects.
 /// </summary>
 /// <param name="finished">The object to return to the pool.</param>
 internal abstract void returnObject(PooledObject finished);