Move backend dictionary and state to MdbHandle

Attempt to make the backend handling logic thread-safe. This removes the
last MDB_CONSTRUCTOR. Also get rid of some JAVA junk and make the
remaining static variables in backend.c constant. Finally remove some
obsolete fields from MdbFile.
This commit is contained in:
Evan Miller
2020-08-20 07:58:53 -04:00
parent c2087a95cc
commit 588663675e
3 changed files with 56 additions and 72 deletions

View File

@@ -307,6 +307,7 @@ mdb_close(MdbHandle *mdb)
}
mdb_iconv_close(mdb);
mdb_remove_backends(mdb);
g_free(mdb);
}