diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-21 22:46:34 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-22 21:25:17 -0700 |
commit | 451a1022e16ec6307328125a41244a837c6edcdf (patch) | |
tree | b80a8d2c6fc5c0369960e5b429e396ef5ff91705 /lib/unicorn.rb | |
parent | 5d57a6f2525c3c1feea98d64e1caf2f32147cf7f (diff) | |
download | unicorn-451a1022e16ec6307328125a41244a837c6edcdf.tar.gz |
Since we always unlink existing sockets when binding, there's no point in having code to unlink the sockets when we exit. Additionally, the old code path was racy.
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r-- | lib/unicorn.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 2f86de2..eefbfc1 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -106,7 +106,6 @@ module Unicorn @listeners.delete_if do |io| if dead_names.include?(sock_name(io)) @io_purgatory.delete_if { |pio| pio.fileno == io.fileno } - destroy_safely(io) true else false |