Backends/SiaNet.Backend.TensorSharp/Util/ObjectPool.cs
/// <summary>
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
/// </summary>
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Performs application - defined tasks associated with freeing releasing or resetting unmanaged resources .
public void Dispose()
        {
            if (!disposed)
            {
                disposed = true;
                foreach (var item in freeList)
                {
                    destructor(item);
                }
                freeList.Clear();
            }
        }
public void Dispose ( ) { if ( ! disposed ) { disposed = true ; foreach ( var item in freeList ) { destructor ( item ) ; } freeList . Clear ( ) ; } }
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Performs application - defined tasks associated with freeing releasing or resetting unmanaged resources .