Env#close

This commit is contained in:
Denis Knauf 2010-02-03 13:21:40 +01:00
parent 3b169d4838
commit c6fe157334

View file

@ -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