-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: CRUD
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.