------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=129778
ogoffart kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From ogoffart kde org 2006-06-26 17:58 -------
SVN commit 555178 by ogoffart:
Remove ressources also when there was an error
BUG: 129778
M +4 -2 jabberaccount.cpp
--- branches/kopete/0.12/kopete/protocols/jabber/jabberaccount.cpp
#555177:555178
@ -998,7 +998,7 @
}
else
{
- Kopete::Account::DisconnectReason errorClass;
+ Kopete::Account::DisconnectReason errorClass =
Kopete::Account::Unknown;
kdDebug ( JABBER_DEBUG_GLOBAL ) << k_funcinfo <<
"Disconnecting." << endl;
@ -1007,7 +1007,9 @
handleStreamError (error,
client()->clientStream()->errorCondition (),
client()->clientConnector()->errorCode (), server (), errorClass);
disconnect ( errorClass );
-
+
+ /* slotCSDisconnected will not be called*/
+ resourcePool()->clear();
}
}
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel