Changeset - c7ef038fecbd
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-09-13 21:17:29
hanzz.k@gmail.com
Call purple_account_disconnect before set_enabled to avoid race condition with PurpleConnection disconnect timer
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/main.cpp
Show inline comments
 
@@ -254,6 +254,7 @@ class SpectrumNetworkPlugin : public NetworkPlugin {
 
			if (account) {
 
// 				VALGRIND_DO_LEAK_CHECK;
 
				m_sessions.erase(user);
 
				purple_account_disconnect(account);
 
				purple_account_set_enabled(account, "spectrum", FALSE);
 

	
 
				// Remove conversations.
0 comments (0 inline, 0 general)