symfony/symfony — pull request #11436 by xabbuh (2014-07-21 20:15:43+00:00)
Title: fix signal handling in wait() on calls to stop()

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #11286
| License | MIT
| Doc PR |

``wait()`` throws an exception when the process was terminated by a signal. This should not happen when the termination was requested by calling the ``stop()`` method (for example, inside a callback which is passed to ``wait()``).