Details
-
Improvement
-
Resolution: Unresolved
-
Unknown
-
None
-
None
-
None
Description
Scope
- Return an error if a ClientEncryption is used after Close.
Background & Motivation
Currently, calling a method on ClientEncryption after calling Close may result in a difficult to diagnose crash.
This is due to ClientEncryption.Close frees data structures in libmongocrypt.
For precedence, the ErrClientDisconnected error is intended to be returned by Client methods after Disconnect.