How to handle an exception in the prompt_worker thread?
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?
... 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
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.