fix: use correct method call for interrupt_current_processing (#2506)
actually achieves the same result, stopping the task
This commit is contained in:
parent
5409bfdb26
commit
bc9c586082
|
|
@ -787,7 +787,7 @@ def worker():
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if async_task.last_stop is not False:
|
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']
|
positive_cond, negative_cond = task['c'], task['uc']
|
||||||
|
|
||||||
if 'cn' in goals:
|
if 'cn' in goals:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue