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

List:       kopete-devel
Subject:    Re: [kopete-devel] [Bug 97240] kopete crash when I connect with two
From:       Michel Hermier <michel.hermier () wanadoo ! fr>
Date:       2005-02-17 18:55:07
Message-ID: 200502171953.09954.michel.hermier () wanadoo ! fr
[Download RAW message or body]

> a) This would not help that case. Tracking the number of connected people
> and auto deleting the message handler when it reaches zero is not going to
> help any object actively conected to the message handler. All it does is
> add auto-deleting capability and the potential for race conditions.

I don't speak about pepole, I speak about MessageRedirector, this is the code 
you removed.

> b) I still don't know why you should be worrying about this, because the
> message handler pointers should be owned by the QDict that contains them
> (like I changed in my patch). Therefore, created handlers will *never* be
> deleted, until the engine itself is deleted.

I don't want to argue about this but it's needed if you add some extra 
handling, like with scripts or plugins. This could show and disappears, 
therefore, to not lose some of the message, you must remove this redirector.

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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