mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 23:26:40 +02:00
Only clear currentPeerInfo *after* auth
This commit is contained in:
@@ -437,5 +437,4 @@ ConnectionManager::handoverSocket( QTcpSocketExtra* sock )
|
||||
QMetaObject::invokeMethod( d_func()->controlConnection, "start", Qt::QueuedConnection, Q_ARG( QTcpSocket*, sock ) );
|
||||
// ControlConntection is now connected, now it can be destroyed if the PeerInfos disappear
|
||||
d_func()->controlConnection->setShutdownOnEmptyPeerInfos( true );
|
||||
d_func()->currentPeerInfo.clear();
|
||||
}
|
||||
|
Reference in New Issue
Block a user