MCPcopy Create free account
hub / github.com/Comfy-Org/ComfyUI / shutdown

Method shutdown

comfy/multigpu.py:72–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 return list(self._work_queues.keys())
71
72 def shutdown(self):
73 for wq in self._work_queues.values():
74 wq.put(None) # sentinel
75 for t in self._workers:
76 t.join(timeout=5.0)
77
78
79class GPUOptions:

Callers 1

outer_sampleMethod · 0.45

Calls 1

putMethod · 0.80

Tested by

no test coverage detected