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