]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/registry/tc.rb
db adaptors: nil internal variable when closing
[user/henk/code/ruby/rbot.git] / lib / rbot / registry / tc.rb
index 8ffd3e40f0a7e76dc8511c24d74b515813cc4695..06013f8f796749aa2f2e751a1a179c6208218393 100644 (file)
@@ -376,6 +376,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