1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Remove PeerInfo from cache on dtor.

This commit is contained in:
Teo Mrnjavac 2013-04-16 08:20:12 +02:00
parent dbe8f7f499
commit b6449fcd63

View File

@ -123,6 +123,7 @@ PeerInfo::PeerInfo( SipPlugin* parent, const QString& id )
PeerInfo::~PeerInfo()
{
// tDebug() << Q_FUNC_INFO;
s_peersByCacheKey.remove( s_peersByCacheKey.key( weakRef() ) );
delete m_avatar;
delete m_fancyAvatar;
}