Metaswitch/sprout — pull request #863 by mike-evans (2014-11-14 11:20:01+00:00)
Title: [Reviewer Ellie] Don't call check_destroy to early

Ellie

Can you review my fix to issue #862. The fix is pretty simple - in a couple of cases it was enough to remove the call to check_destroy because it is already called at the end of schedule_requests.

I've run the existing UTs, but haven't added a specific test case as I wanted to get the fix out quickly. I'll probably cycle back and add some test cases for similar flows.

Mike