I did some Mac OS X code work about ten years ago. I seem to remember their was a way to set up a method to help clean up the mess on an abnormal termination. Can any one help?
Specifically, my code will open a disk image. If the app crashes, I want to make sure the image still gets unmounted.
Retrieving data ...