lmdb_sys

Function mdb_env_close

Source
pub unsafe extern "C" fn mdb_env_close(env: *mut MDB_env)
Expand description

@brief Close the environment and release the memory map.

Only a single thread may call this function. All transactions, databases, and cursors must already be closed before calling this function. Attempts to use any such handles after calling this function will cause a SIGSEGV. The environment handle will be freed and must not be used again after this call. @param[in] env An environment handle returned by #mdb_env_create()