X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=lib%2Frbot%2Fregistry%2Ftc.rb;h=06013f8f796749aa2f2e751a1a179c6208218393;hb=440ef790a60a73e9b47050cddacddba59c61b30b;hp=8ffd3e40f0a7e76dc8511c24d74b515813cc4695;hpb=576e70482321b027edaffb8eb958d26bc5157a67;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/lib/rbot/registry/tc.rb b/lib/rbot/registry/tc.rb index 8ffd3e40..06013f8f 100644 --- a/lib/rbot/registry/tc.rb +++ b/lib/rbot/registry/tc.rb @@ -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