Perfect, thanks. Andy
From: live-devel <live-devel-boun...@us.live555.com> on behalf of Ross Finlayson <finlay...@live555.com> Sent: 28 November 2023 15:58 To: LIVE555 Streaming Media - development & use <live-de...@us.live555.com> Subject: Re: [Live-devel] Cleaning up objects > On Nov 29, 2023, at 4:04 AM, Andy Hawkins <andy.hawk...@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/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel