Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
Description
https://github.com/mongodb/mongo-go-driver/blob/master/mongo/document_result.go#L43 should have a defer dr.cur.Close(context.Background()) right before it. This function may need a backwards breaking change of requiring a context as a param to get API parity.