Make RawBsonDocument implement Closeable

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API, BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: