-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File not closed properly when loaded using an IOStream #145
Comments
The HANDLE to img2.jpg is duplicated somewhere (after calling load(io)), and close(io) can only close the original HANDLE. If I force close the duplicated handle in procexp, the file is released then. ------UPDATE |
azurefx
added a commit
to azurefx/ImageMagick.jl
that referenced
this issue
Dec 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ImageMagick v0.7.1
FileIO v1.0.4
Windows 10 x64 17763
When a file is loaded with an open IOStream (MagickReadImageFile), the file gets locked until the julia process exits. However the native MagickReadImage function (called by load(filename)) can release the file correctly.
To reproduce this problem, open a PWSH (elevated):
The text was updated successfully, but these errors were encountered: