Skip to content

Commit bc9c586

Browse files
authored
fix: use correct method call for interrupt_current_processing (lllyasviel#2506)
actually achieves the same result, stopping the task
1 parent 5409bfd commit bc9c586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/async_worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ def callback(step, x0, x, total_steps, y):
787787

788788
try:
789789
if async_task.last_stop is not False:
790-
ldm_patched.model_management.interrupt_current_processing()
790+
ldm_patched.modules.model_management.interrupt_current_processing()
791791
positive_cond, negative_cond = task['c'], task['uc']
792792

793793
if 'cn' in goals:

0 commit comments

Comments
 (0)