1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01: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( authTimeout() ), this, SLOT( authFailed() ) );
peerInfoDebug( d->currentPeerInfo ) << Q_FUNC_INFO << "Connection authentication failed";
// Only retry if we have any retries left.
if (!d->currentPeerInfo->sipInfos().isEmpty()) {
// 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 );
tLog( LOGVERBOSE ) << Q_FUNC_INFO;
delete d->avatar;
delete d->fancyAvatar;
delete d_ptr;