Closed maddin200 closed 1 year ago
I think you are pointing out that log.Fatalf exits the example dicomutil program without running the defered functions? Thanks for pointing it out, I'll make some updates in #278 (probably dicomutil in general could use a refactor to be honest).
Addressed in dicomutil in #278
/cmd\dicomutil\main.go line 67 Code: if err != nil { log.Fatalf("error parsing data: %v", err) // <-- will not use defer }