[Live-devel] Cleaning up objects

Ross Finlayson finlayson at live555.com
Tue Nov 28 07:58:20 PST 2023



> On Nov 29, 2023, at 4:04 AM, Andy Hawkins <Andy.Hawkins at uniguest.com> wrote:
> 
> The majority of the objects in the library are created using a static 'createNew' method, and have a protected destructor. How should these objects be cleaned up once they are finished with? You can't call delete because of the protected destructor.

Call
	Medium::close()
on the pointer.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list