summaryrefslogtreecommitdiff
path: root/lib/hyperstack/cli.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 12:12:46 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 12:12:46 +0300
commit223b422fbca462c07d3c3771e81dd2100d8e3a60 (patch)
tree6cbd2876eee7160937c1c45513bfe45c2ce4a4a1 /lib/hyperstack/cli.rb
parent6beadd91c11fee7b23017fac07a932f7ed8b21da (diff)
fix(photo-enhance): ensure .orient tempfiles are always cleaned up in enhance_one
Wrap enhance_one body in begin/ensure to unconditionally delete upload_path (and tmp_png) on every exit path, not just success. Prevents 50+ MB RAW->TIFF leaks when upload_image/submit_prompt/wait_for_output/save_with_corrections raises or when ComfyUI connection errors are caught.
Diffstat (limited to 'lib/hyperstack/cli.rb')
0 files changed, 0 insertions, 0 deletions