code: public void destroy() {
  		synchronized (this.buffers) {
  			if (this.isDestroyed) {
  				return;
  			}
  
  			this.isDestroyed = true;
  
  			// return all buffers
  			while (!this.buffers.isEmpty()) {
  				this.globalBufferPool.returnBuffer(this.buffers.poll());
  				this.numRequestedBuffers--;
  			}
  		}
  	}
docs: Destroys this local buffer pool and immediately returns all available buffers to the global buffer pool.
  <p>
  Buffers, which have been requested from this local buffer pool via <code>requestBuffer</code> cannot be returned
  immediately and will be returned when the respective buffer is recycled (see {@link #recycleBuffer(MemorySegment)}).