mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Remove PeerInfo from cache on dtor.
This commit is contained in:
@@ -123,6 +123,7 @@ PeerInfo::PeerInfo( SipPlugin* parent, const QString& id )
|
|||||||
PeerInfo::~PeerInfo()
|
PeerInfo::~PeerInfo()
|
||||||
{
|
{
|
||||||
// tDebug() << Q_FUNC_INFO;
|
// tDebug() << Q_FUNC_INFO;
|
||||||
|
s_peersByCacheKey.remove( s_peersByCacheKey.key( weakRef() ) );
|
||||||
delete m_avatar;
|
delete m_avatar;
|
||||||
delete m_fancyAvatar;
|
delete m_fancyAvatar;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user