[vlc-devel] commit: Remove playlist destructor ( Rafaël Carré )
Rafaël Carré
funman at videolan.org
Wed May 14 22:03:27 CEST 2008
Le Wed, 14 May 2008 21:48:48 +0200,
Pierre d'Herbemont <pdherbemont at free.fr> a écrit :
>
> On May 14, 2008, at 9:38 PM, git version control wrote:
>
> > vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed
> > May 14 21:39:21 2008 +0200|
> > [3d7eabaf80eb76dc2111f399aec6586d1b0094a8]
> >
> > Remove playlist destructor
> >
> > We need to do stuff BEFORE the playlist is destroyed
>
> That part was fine. There is no need to remove that.
True, I just noticed the destructor is run before checking for alive
children anyway.
> Moreover now the preparse and fetcher object are now leaked.
I don't see how.
> Note, that the whole point of refcounting is that you release stuff
> when no one need them. Now at whatever point they'll be released you
> potentially have a crashy situation, where an object that as a
> reference on it, and tries to access that members.
I don't understand the link ?
> I would suggest to revert :) Or could you explain why you do that?
It's reverted here, looking for the real source of the problem.
--
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080514/59724e8d/attachment.sig>
More information about the vlc-devel
mailing list