Closed bmatsuo closed 8 years ago
Relates to #20
A finalizer for lmdb.Env should be straightforward and low overhead. The finalizer needs to check if Env._env is nil, closing it and setting it to nil otherwise. The finalizer must not panic if the Env was closed correctly.
lmdb.Env
Env._env
Relates to #20
A finalizer for
lmdb.Env
should be straightforward and low overhead. The finalizer needs to check ifEnv._env
is nil, closing it and setting it to nil otherwise. The finalizer must not panic if the Env was closed correctly.