release method

void release()

Release the memory for any existing buffer if necessary.

Implementation

void release() {
  _buffer?.release();
  _buffer = null;
}