StreamPipe.setOwner

void setOwner(bool owner)

Sets whether or not stream owns the backend pipe descriptor.

Note

owner should be true if the stream should close() the

backend pipe descriptor when destroyed or false otherwise.

Parameters

ownerowner