Env#close
This commit is contained in:
parent
3b169d4838
commit
c6fe157334
|
@ -60,7 +60,7 @@ module SBDB
|
|||
# Close the Environment.
|
||||
# First you should close all databases!
|
||||
def close
|
||||
@dbs.each{|db|db.close}
|
||||
@dbs.each{|k, db|db.close}
|
||||
@env.close
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue