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

List:       kopete-devel
Subject:    Re: [kopete-devel] Avatar stuff, Global Identity and so
From:       Martijn Klingens <klingens () kde ! org>
Date:       2007-05-25 8:50:19
Message-ID: 200705251050.19390.klingens () kde ! org
[Download RAW message or body]

On Friday 25 May 2007 04:41, Gustavo Pichorim Boiko wrote:
> Is there any special reason for this dialog to be asynchronously called?

My experience in the years that I worked on Kopete has been that *everything* 
should be called asynchronously as long as there's a possibility of having 
open network connections that can trigger all kinds of changes to internal 
data structures. (Think contacts coming and going from serverside contact 
lists for example.)

Basically the first part of Kopete startup and the last part of shutdown are 
the only areas where using sync calls is really safe. To some extent it is 
also safe from stuff called directly from main menus and toolbars.

Under *no* circumstances should sync calls be done from context menus in the 
contact list or any other place where contact-related classes will be in the 
backtrace.

-- 
Martijn
_______________________________________________
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