diff --git a/lib/sbdb/environment.rb b/lib/sbdb/environment.rb index fdb8191..c7da46b 100644 --- a/lib/sbdb/environment.rb +++ b/lib/sbdb/environment.rb @@ -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