yohoushi/yohoushi — pull request #33 by sonots (2013-12-24 17:18:46+00:00)
Title: fix so that worker can reboot gracefully

https://github.com/frsyuki/serverengine restarts gracefully if it receives USR1 or HUP signal.
It means that the process (and objects) are not initialized again, but just run loop is called again.

In that case, the instance variables, especially `@stop` must be initialized, otherwrise, the run loop finishes immediately and restarts again and finishes (loop).