Don't bother unlinking UNIX sockets
commita87866f83c0185757b2f85aeab17e2a9553b6ae1
authorEric Wong <normalperson@yhbt.net>
Sun, 22 Mar 2009 05:46:34 +0000 (21 22:46 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 25 Mar 2009 23:27:49 +0000 (25 16:27 -0700)
tree648fc3c8a0861a8d2c23a5dd33667775f3805fd1
parent78668173ab0e78c5c94fe23b916a81822c24bf9c
Don't bother unlinking UNIX sockets

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.
lib/unicorn.rb
lib/unicorn/socket.rb