SVN commit 1044534 by rjarosz: Backport commit 1044526. Disconnect signals on reset so we don't get signals twice on reconnect. Check if d->bs is not null. CCBUG: 188042 M +4 -0 yahooclientstream.cpp --- branches/KDE/4.3/kdenetwork/kopete/protocols/yahoo/libkyahoo/yahooclientstream.cpp #1044533:1044534 @@ -135,6 +135,7 @@ // reset connector if(d->bs) { + disconnect(d->bs, 0, this, 0); d->bs->close(); d->bs = 0; } @@ -296,6 +297,9 @@ void ClientStream::cp_outgoingData( const QByteArray& outgoingBytes ) { + if ( !d->bs ) + return; + // take formatted bytes from CoreProtocol and put them on the wire kDebug(YAHOO_RAW_DEBUG) << "[data size: " << outgoingBytes.size() << "]"; //cs_dump( outgoingBytes );