scrapy/core/engine.py
changed.
Showing 1 of 1 files from the diff.
@@ -102,7 +102,10 @@
Loading
102 | 102 | # Will also close downloader |
|
103 | 103 | return self._close_all_spiders() |
|
104 | 104 | else: |
|
105 | - | return defer.succeed(self.downloader.close()) |
|
105 | + | for _ in self.downloader.stop(): |
|
106 | + | pass |
|
107 | + | self.downloader.close() |
|
108 | + | return defer.succeed(None) |
|
106 | 109 | ||
107 | 110 | def pause(self): |
|
108 | 111 | """Pause the execution engine""" |
Files | Coverage |
---|---|
scrapy | 87.84% |
Project Totals (158 files) | 87.84% |
592116746
592116760
592116760
592116746
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.