Commit 7113598
fix(scrapy): Close
If `open_rq()` raises, Scrapy will not call `close()`, so the
`AsyncThread` (and its event loop thread) would leak. Close it
explicitly before re-raising.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>AsyncThread on scheduler open() failure1 parent 69b8af9 commit 7113598
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments