chickadee » lmdb-lolevel » mdb-env-close

mdb-env-close envprocedure

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.

env
An environment handle returned by (mdb-env-create)