mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-25 16:59:18 +00:00
safe cleanup to avoid potential problems
This commit is contained in:
@@ -40,12 +40,6 @@ def get_new_stream():
|
||||
return None
|
||||
|
||||
|
||||
def synchronize_current_stream():
|
||||
global current_stream
|
||||
if current_stream is not None:
|
||||
current_stream.synchronize()
|
||||
|
||||
|
||||
if shared.opts.use_non_streamlined_lowvram:
|
||||
current_stream = None
|
||||
mover_stream = None
|
||||
|
||||
Reference in New Issue
Block a user