Commit Graph

1 Commits

Author SHA1 Message Date
lif
d14fe06352 fix: close image file handle after loading in LoadImage nodes
Fixes #3477

The LoadImage and LoadImageMask nodes opened image files but did not
close them after processing. This kept file handles open, preventing
other processes from accessing the files.

Added try/finally blocks to ensure img.close() is called after
processing completes.
2025-12-18 00:33:34 +08:00