[MRG+1] Add ExecutionEngine.close() method #1423
Depending on what state the engine is in, there are different measures that need to be taken to shut it down gracefully (i.e. leaving the reactor clean): Stop the engine, close the spider, or close the downloader.
This PR adds a new method as a single entry point for shutting down the engine and integrates it into
After chatting back and forth with Steve from Codecov, and doing some more tests to make sure that the
I've reported it to them and Ned is currently looking into it (after mentioning that "BTW: I used scrapy yesterday, good stuff :)"). So I think the coverage should be fine.