MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / signal_handler

Method signal_handler

lightx2v/utils/service_utils.py:33–36  ·  view source on GitHub ↗
(sig, frame)

Source from the content-addressed store, hash-verified

31
32 @staticmethod
33 def signal_handler(sig, frame):
34 logger.info("\nReceived Ctrl+C, shutting down all related processes...")
35 ProcessManager.kill_all_related_processes()
36 sys.exit(0)
37
38 @staticmethod
39 def register_signal_handler():

Callers

nothing calls this directly

Calls 2

infoMethod · 0.80

Tested by

no test coverage detected