[Live-devel] Cleaning up objects
Andy Hawkins
Andy.Hawkins at uniguest.com
Tue Nov 28 08:34:13 PST 2023
Perfect, thanks.
Andy
From: live-devel <live-devel-bounces at us.live555.com> on behalf of Ross Finlayson <finlayson at live555.com>
Sent: 28 November 2023 15:58
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] Cleaning up objects
> 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/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list