fix: use correct method call for interrupt_current_processing (#2506)

actually achieves the same result, stopping the task
This commit is contained in:
Manuel Schmid
2024-03-10 23:13:09 +01:00
committed by GitHub
parent 5409bfdb26
commit bc9c586082
+1 -1
View File
@@ -787,7 +787,7 @@ def worker():
try:
if async_task.last_stop is not False:
ldm_patched.model_management.interrupt_current_processing()
ldm_patched.modules.model_management.interrupt_current_processing()
positive_cond, negative_cond = task['c'], task['uc']
if 'cn' in goals: