Skip to contents

Closes the buffer and releases the underlying shared memory.

Usage

buffer_close(x, unlink = NULL)

Arguments

x

A shard_buffer object.

Whether to unlink the underlying segment.

Value

NULL, invisibly.

Examples

# \donttest{
buf <- buffer("double", dim = 10)
buffer_close(buf)
# }