MCPcopy
hub / github.com/scrapy/scrapy / _signal_kill

Method _signal_kill

scrapy/crawler.py:641–646  ·  view source on GitHub ↗
(self, signum: int, _: Any)

Source from the content-addressed store, hash-verified

639 reactor.callFromThread(self._graceful_stop_reactor)
640
641 def _signal_kill(self, signum: int, _: Any) -> None:
642 from twisted.internet import reactor
643
644 install_shutdown_handlers(signal.SIG_IGN)
645 self._log_kill(signum)
646 reactor.callFromThread(self._stop_reactor)
647
648 @staticmethod
649 def _log_shutdown(signum: int) -> None:

Callers

nothing calls this directly

Calls 2

_log_killMethod · 0.95

Tested by

no test coverage detected