Close file pointer in finally clause - #125
Conversation
|
pieper
left a comment
There was a problem hiding this comment.
this sounds like a good fix. Can you look at the automated suggestions?
|
@pieper: Do you mean the suggestions from |
|
Okay, if the issues are unrelated then you don't need to resolve them. I haven't worked on this code for a while so I'm hesitant to make changes. Is there anyone else who uses this package actively who would like to review? |
|
@pieper I will take a look in the next couple of days |
CPBridge
left a comment
There was a problem hiding this comment.
Looks good to me, thanks @erikogabrielsson !
|
I'm going to go ahead, merge this, and put out a patch release (0.61.1) |
…stions Fix sonar cloud suggestions from PR #125



Exceptions in
DICOMfileClientretrieve_instance_rendered(),iter_instance_frames(),retrieve_instance_frames(), andretrieve_instance_frames_rendered()or if caller abandons iteration early oniter_instance_frames()leaves theimage_file_pointeropen. Change so that it is always closed in afinallyblock.