mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-07 17:52:17 -08:00
use condition to wait for result
This commit is contained in:
parent
4242e194e4
commit
e0b58527ff
2 changed files with 5 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ import time
|
|||
from modules import shared, progress
|
||||
|
||||
queue_lock = threading.Lock()
|
||||
|
||||
queue_lock_condition = threading.Condition(lock=queue_lock)
|
||||
|
||||
def wrap_queued_call(func):
|
||||
def f(*args, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue