github/ReactiveCocoa — pull request #55 by joshaber (2012-09-11 19:10:34+00:00)
Title: Fix generator races

This fixes some race conditions surfaced in the generator test. Most notable:

* Fixed `-take:` to dispose of its underlying subscription when it reaches its count.
* Fixed `-toArray` to use the `NSCondition`-based blocking instead of spinning the runloop.