monkeyandco/MCResource — pull request #2 by georges (2012-03-10 07:06:47+00:00)
Title: Fixed de-queuing order so that synchronous test will work

There is a small problem in the order of which the requests are being dequeued. During unit test, the requests are synchronous, thus the queuing loop can be re-entered and the dequeue needs to happen before the request is started otherwise the same request fires again.