mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
Add debug output to diagnose authFailed crashes.
This commit is contained in:
@@ -129,6 +129,8 @@ ConnectionManager::authFailed()
|
|||||||
disconnect( d->controlConnection.data(), SIGNAL( authFailed() ), this, SLOT( authFailed() ) );
|
disconnect( d->controlConnection.data(), SIGNAL( authFailed() ), this, SLOT( authFailed() ) );
|
||||||
disconnect( d->controlConnection.data(), SIGNAL( authTimeout() ), this, SLOT( authFailed() ) );
|
disconnect( d->controlConnection.data(), SIGNAL( authTimeout() ), this, SLOT( authFailed() ) );
|
||||||
|
|
||||||
|
peerInfoDebug( d->currentPeerInfo ) << Q_FUNC_INFO << "Connection authentication failed";
|
||||||
|
|
||||||
// Only retry if we have any retries left.
|
// Only retry if we have any retries left.
|
||||||
if (!d->currentPeerInfo->sipInfos().isEmpty()) {
|
if (!d->currentPeerInfo->sipInfos().isEmpty()) {
|
||||||
// If auth failed, we need to setup a new controlconnection as the old will be destroyed.
|
// If auth failed, we need to setup a new controlconnection as the old will be destroyed.
|
||||||
|
@@ -125,6 +125,8 @@ PeerInfo::~PeerInfo()
|
|||||||
{
|
{
|
||||||
Q_D( PeerInfo );
|
Q_D( PeerInfo );
|
||||||
|
|
||||||
|
tLog( LOGVERBOSE ) << Q_FUNC_INFO;
|
||||||
|
|
||||||
delete d->avatar;
|
delete d->avatar;
|
||||||
delete d->fancyAvatar;
|
delete d->fancyAvatar;
|
||||||
delete d_ptr;
|
delete d_ptr;
|
||||||
|
Reference in New Issue
Block a user