X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=lib%2Frbot%2Fregistry%2Fbdb.rb;h=b865770fc32ff740d2c88eb816e76e30175f39c8;hb=440ef790a60a73e9b47050cddacddba59c61b30b;hp=2403ec0e6359074af2acd60b186a08509574918f;hpb=576e70482321b027edaffb8eb958d26bc5157a67;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/lib/rbot/registry/bdb.rb b/lib/rbot/registry/bdb.rb index 2403ec0e..b865770f 100644 --- a/lib/rbot/registry/bdb.rb +++ b/lib/rbot/registry/bdb.rb @@ -377,6 +377,7 @@ class Bot # debug "closing registry #{registry}" return if !@registry registry.close + @registry = nil end # convert value to string form for storing in the registry