mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
Only clear currentPeerInfo *after* auth
This commit is contained in:
parent
dad902523e
commit
487e78fffd
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user