Unverified Commit b945ba71 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub
Browse files

Merge pull request #13977 from AUTOMATIC1111/hotfix-postprocessing-state-end

Hotfix: call shared.state.end() after postprocessing done
parents 2207ef36 a292d2c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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), ''