ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

How to handle an exception in the prompt_worker thread?

Open WooXinyi opened this issue 1 year ago • 2 comments

Sometimes thread exception occurred when using custom nodes, but comfyui server process will not terminate. In this situation, I have to kill it by PID and restart it, is there another elegant way?

WooXinyi avatar May 29 '24 07:05 WooXinyi

... How exactly did you create an exception so severe that it blocked shutdown?

The only way I can see this happening normally is an infinite loop / lockup, something that actually prevents signal processing like that

mcmonkey4eva avatar Jun 10 '24 19:06 mcmonkey4eva

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Nov 14 '24 11:11 github-actions[bot]