[Live-devel] How to clean up correct?

Ross Finlayson finlayson at live.com
Mon Mar 7 11:20:48 PST 2005

At 07:16 AM 3/7/05, you wrote:
>I'm using the testOnDemandRTSPServer code (with small changes),
>and now I don't know how to clean up correctly.
>Because most destructors are protected...

'Media' objects should be reclaimed using "Medium::close()".

Also, it's usually a good idea to reclaim objects in the reverse order from 
that in which they were created.

	Ross Finlayson

More information about the live-devel mailing list