aboutsummaryrefslogtreecommitdiff
path: root/modules/postprocessing.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-11-19 08:59:32 +0300
committerGitHub <noreply@github.com>2023-11-19 08:59:32 +0300
commitb945ba716b88af32dff853ecaad4f5a05c164ce8 (patch)
tree058a4da81ce77abc3ed3f9e100db2ad2f3b7b662 /modules/postprocessing.py
parent2207ef363aa96977d0c75d846b348132f721087c (diff)
parenta292d2c47f51fc71cc186709bdf3706f0944b7d6 (diff)
Merge pull request #13977 from AUTOMATIC1111/hotfix-postprocessing-state-end
Hotfix: call shared.state.end() after postprocessing done
Diffstat (limited to 'modules/postprocessing.py')
-rw-r--r--modules/postprocessing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/postprocessing.py b/modules/postprocessing.py
index cf04d38b..fd0c0cc9 100644
--- a/modules/postprocessing.py
+++ b/modules/postprocessing.py
@@ -78,7 +78,7 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir,
image_data.close()
devices.torch_gc()
-
+ shared.state.end()
return outputs, ui_common.plaintext_to_html(infotext), ''