Details
-
Bug
-
Resolution: Fixed
-
Unknown
-
1.2.0
-
None
Description
The MongoCryptImpl#close method isn't guarded:
@Override
|
public void close() {
|
mongocrypt_destroy(wrapped);
|
closed = true;
|
}
|
So each call to close() will try to destroy the mongocrypt_t object.
Attachments
Issue Links
- is related to
-
JAVA-4215 Closing a MongoClient twice with AutoEncryptionSettings causes double free and crash
-
- Closed
-