> I am using testOnDemandRtspServer application and at the end i wand to delete > the objects of TaskScheduler and UsageEnvironment,but these classes have > protected destructor.so how can i free memory for these classes.
The simplest way to do this is to simply call exit(0); to exit the process. But if (for some reason) you don't want to do this, you can reclaim these objects (of course, after you've reclaimed the server object itself) by doing: env->reclaim(); env = NULL; delete scheduler; scheduler = NULL; Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel