mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-04-24 16:29:16 +00:00
fix: close Processing object after generation
This commit is contained in:
@@ -557,6 +557,8 @@ class AfterDetailerScript(scripts.Script):
|
||||
msg = f"[-] ADetailer: 'NansException' occurred with {ordinal(n + 1)} settings.\n{e}"
|
||||
print(msg, file=sys.stderr)
|
||||
continue
|
||||
finally:
|
||||
p2.close()
|
||||
|
||||
self.compare_prompt(p2, processed, n=n)
|
||||
p2 = copy(i2i)
|
||||
|
||||
Reference in New Issue
Block a user