Currently RawBsonDocument just has a byte[] so there is no need to close it. But in the future it might be given a slice of a larger buffer that is checked out of the buffer pool. In that case, making RawBsonDocument Closeable will allow it to release its reference to the slice.
Make RawBsonDocument implement Closeable
- Assignee:
-
Unassigned
- Reporter:
-
Jeffrey Yemin
- None
- Votes:
-
0 Vote for this issue - Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: