Commit f90e73af5151f587e35664e4f6bc2c9a85b8265d

Con Kolivas 2011-07-05T10:47:47

Queue and pop precisely the same amount of work in flush_request to ensure all work is cleared and there isn't an uneven add/remove possible.