close method

void close()

Releases the mapped GGUF after all tensor views have been consumed. The mapping is shared by path, so a second close must not give back another opener's reference.

Implementation

void close() {
  if (_closed) return;
  _closed = true;
  _file.release();
}