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:
parent
0f175bcc37
commit
19434a492c
@ -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.
|
||||
|
@ -125,6 +125,8 @@ PeerInfo::~PeerInfo()
|
||||
{
|
||||
Q_D( PeerInfo );
|
||||
|
||||
tLog( LOGVERBOSE ) << Q_FUNC_INFO;
|
||||
|
||||
delete d->avatar;
|
||||
delete d->fancyAvatar;
|
||||
delete d_ptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user