scalaz/scalaz-stream — pull request #199 by radekm (2014-07-07 12:13:42+00:00)
Title: Interrupting cleanup which contains emit

When killing process we should be able to determine whether we are inside `onComplete` and in such case wait with killing until we're outside.