defunkt/resque — pull request #462 by grayfragments (2011-11-25 13:10:17+00:00)
Title: Use `exit` instead of `exit!` in worker child

I saw another try before, but it was failed because of ensure block (this one https://github.com/defunkt/resque/pull/307)

Lots of my background jobs use Tempfile, which unlink created tempfile in finalizers ( which never runs because of exit! )

I wrote Tempfile test case (https://github.com/grayfragments/resque/commit/b60586a309ab184413b65db4bb56b1d84709219d), but i think it failes everytime on systems, where fork doesnt work.