public void Dispose() { BlockingPool <WorkBuffer> blockingPool = this._pool; this._pool = (BlockingPool <WorkBuffer>)null; blockingPool.Dispose(); }
public WorkBufferBlockingPool(int poolSize) { this._pool = new BlockingPool <WorkBuffer>(poolSize); }