[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdenonbeta/kopete/libkopete
From:       Martijn Klingens <klingens () kde ! org>
Date:       2003-07-06 19:11:17
[Download RAW message or body]

On Sunday 06 July 2003 16:52, Michel Hermier wrote:
> CVS commit by hermier:
>
> Moved set KopeteMetaContact to null while destroying KopeteContact.
> Some contact may need the KopeteMetaContact reference to do some job with
> it.

Don't do this!

At the time contactDestroyed() is emitted the MyProtocolContact is already 
destroyed and the object is in an unreliable state!

You can *NOT* reliably access the meta contact anymore at that point. Please 
revert!

-- 
Martijn
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic