about summary refs log tree commit homepage
path: root/lib/yahns/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/config.rb')
-rw-r--r--lib/yahns/config.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/yahns/config.rb b/lib/yahns/config.rb
index d38c090..4861f3e 100644
--- a/lib/yahns/config.rb
+++ b/lib/yahns/config.rb
@@ -29,6 +29,10 @@ class Yahns::Config # :nodoc:
     raise ArgumentError, msg
   end
 
+  def postfork_cleanup
+    @app_ctx = @set = @qeggs = @app_instances = @config_file = nil
+  end
+
   def config_reload! #:nodoc:
     # app_instance:app_ctx is a 1:N relationship
     @config_listeners = {} # name/address -> options