-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: 1.2.0
-
Component/s: Java binding
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.
- is related to
-
JAVA-4215 Closing a MongoClient twice with AutoEncryptionSettings causes double free and crash
-
- Closed
-