about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-09-02 16:17:57 -0700
committerEric Wong <normalperson@yhbt.net>2011-09-03 03:52:44 +0000
commit0113de29108fb669a43d4d7f5528c77a2f96db57 (patch)
treeacf3a0bab7eacd08ec13e424b131dd14d493ddfb
parentcd22c595633ec36b69c60f27f2c3841ae0f6faca (diff)
downloadunicorn-0113de29108fb669a43d4d7f5528c77a2f96db57.tar.gz
There is no need to keep extra hashes or Proc objects around in
the heap.
-rw-r--r--lib/unicorn/http_server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb
index 1d51001..95f0e6e 100644
--- a/lib/unicorn/http_server.rb
+++ b/lib/unicorn/http_server.rb
@@ -563,6 +563,7 @@ class Unicorn::HttpServer
     self.timeout /= 2.0 # halve it for select()
     @config = nil
     build_app! unless preload_app
+    @after_fork = @listener_opts = @orig_app = nil
   end
 
   def reopen_worker_logs(worker_nr)