1 Copper

closing FPClip and other objects

When I try to close an open FPClip, I get an exception. I have commented out the close, but now I am leaking (surprise)

what is the proper sequence to use, then close an FP clip and any attribute objects obtained when reading it?

0 Kudos
1 Reply
8 Krypton

Re: closing FPClip and other objects

I assume you are just opening the clip and reading a blob from it?

In that case to read the blob you need to open a Tag for each blob and this needs to be closed before you can close the clip.  Also you will have opened a stream to do the actual read so that will need closed as well

0 Kudos