summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThilo Cestonaro <thilo@cestona.ro>2011-07-01 10:57:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-07-03 12:16:10 (GMT)
commitb25c6f15c62f226c31ad514a973b0920b89b20c5 (patch)
tree80d84ff2b36dee1fc7fc2ad117fb335cbd84afca /Swiften/Client
parent07c7c86ad6d6397e3befb3ac9fc92dd16a6bcdfe (diff)
downloadswift-contrib-b25c6f15c62f226c31ad514a973b0920b89b20c5.zip
swift-contrib-b25c6f15c62f226c31ad514a973b0920b89b20c5.tar.bz2
Fix for a SIGABRT when reconnecting
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swiften/Client')
-rw-r--r--Swiften/Client/CoreClient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Client/CoreClient.cpp b/Swiften/Client/CoreClient.cpp
index ab9e947..4b438f6 100644
--- a/Swiften/Client/CoreClient.cpp
+++ b/Swiften/Client/CoreClient.cpp
@@ -87,6 +87,7 @@ void CoreClient::handleConnectorFinished(boost::shared_ptr<Connection> connectio
foreach(ConnectionFactory* f, proxyConnectionFactories) {
delete f;
}
+ proxyConnectionFactories.clear();
if (!connection) {
if (options.forgetPassword) {