1
0
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:
Uwe L. Korn
2014-01-30 22:58:28 +00:00
parent 0f175bcc37
commit 19434a492c
2 changed files with 4 additions and 0 deletions

View File

@@ -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.

View File

@@ -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;