server: correctly unset reexec_pid on child death
commit762db4854c06196b8941fe9fb303280429fe4cdc
authorEric Wong <normalperson@yhbt.net>
Mon, 28 Sep 2009 06:47:57 +0000 (27 23:47 -0700)
committerEric Wong <normalperson@yhbt.net>
Mon, 28 Sep 2009 06:47:57 +0000 (27 23:47 -0700)
tree90c2f60a384128bc59b2969426f2b4dc8c3a1e96
parent2f1155794a6a1709f9e48b8115d6bd3531b2d814
server: correctly unset reexec_pid on child death

Sometimes the upgraded version won't survive and we can fail to
unset that pid and instead accidentally create a local variable.
This is unlikely to be a problem in practice because this
variable is immediately reclobbered when we fork.
lib/unicorn.rb