[Insight-developers] destructor/smart pointer clean up
causing crashes?
Bill Hoffman
bill.hoffman@kitware.com
Wed, 03 Oct 2001 13:01:50 -0400
I would have to see the code to tell.
-Bill
At 12:30 PM 10/3/2001 -0400, Wilson M Chang wrote:
>I was writing a file reader following very closely the PNG file reader
>code that is currently in place. I noticed that it was causing the
>program to crash when the program was exiting (on the last bracket of
>main() ) while calling of destructors for ImageIO and such, as well as
>cleaning up the smart pointers. Miraculously, this crashing went away as
>soon as the image reader (and corresponding factory) was added to the
>ITKIO library. Has anybody had similar problems or have any idea why this
>was happening when the code was external to ITK?
>
>wilson
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers