josevalim/xgen — pull request #2 by fishcakez (2014-03-30 16:41:52+00:00)
Title: GenEvent.stream parallel reuse

There is a race condition when a stream is re-used in parallel. If the enumerations do not finish in the order they are started the incorrect handler would be removed when an enumeration finishes.