chuckremes/zmqmachine — pull request #3 by halorgium (2011-11-01 21:44:02+00:00)
Title: Only iterate over the poller if a poll has been run

Currently if there are no sockets, the poll is not run.
This means that the `@poller.readables` or `@poller.writeables` are from the previous poll and include any closed sockets.

I changed the code so the iteration is only run if the poll is actually run.