RingBuffer.dispose

void dispose() @trusted nothrow @nogc

Release backing storage immediately via free().

Idempotent (TERMINOLOGY.md): safe to call multiple times. After disposal the buffer is empty and capacity() returns 0.

Important: This must be called to free memory. There is no destructor.