You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tempfile should only deleted by GC if nothing is referencing the Tempfile object anymore. MiniMagick is internally implemented to keep a reference while commands are being executed. Is there any specific code you're concerned about?
MiniMagick is internally implemented to keep a reference while commands are being executed
I think so too and I couldn't reproduce tempfile disappearance while enforce GC.start in my debug console during minimagick operation. But... I saw sometimes tempfile disappearance happened during minimagick convert operation under CPU high pressure.
It could be another reason of tempfile disappearance (maybe disk size shortage(even though I already checked it), or something??) so please close this issue if you do not see any problem.
MiniMagick::Image.create creates @tempfile (ruby Tempfile object) at:
at MiniMagick::Utilities#tempfile:
Is this @tempfile guaranteed to exist during minimagick operation (e.g. convert)? I'm asking this question because:
The text was updated successfully, but these errors were encountered: