cloudfoundry/eventmachine — pull request #1 by mpage (2012-07-13 21:22:21+00:00)
Title: Set @reactor_running to false before call to release_machine()

Code gated on EM.reactor_running? will cause a RuntimeError to be
thrown if executed *after* a call to release_machine() but *before*
@reactor_running is set to false. A prime example of this is code
executed in a signal handler.