summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-05-04 05:21:18 +0000
committerEric Wong <normalperson@yhbt.net>2009-05-22 01:54:21 -0700
commit3d2b5954d70af6abd713bc820b3d7bc1ea115f30 (patch)
tree44f6720ac27a5101916ec6b4f1697706dabda15d
parent721be5f0d1874da3e623b4eeea81952909fdfee2 (diff)
-rw-r--r--lib/unicorn.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 1f7cf8d..f5c1c8c 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -64,6 +64,7 @@ module Unicorn
     # incoming requests on the socket.
     def initialize(app, options = {})
       @app = app
+      @pid = nil
       @reexec_pid = 0
       @init_listeners = options[:listeners] ? options[:listeners].dup : []
       @config = Configurator.new(options.merge(:use_defaults => true))