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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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: