Table of Contents

Method Dispose

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

Dispose()

Cancels the read if it is still running, and releases the buffer.

public void Dispose()

Remarks

Does not wait: while the read is running the producer returns the arrays to the pool when it exits, and nothing is thrown. For a pool whose Return throws, see the remarks of the class. Use DisposeAsync() to wait for that. Calling it again does nothing. After it, Items throws ObjectDisposedException.