mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +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()
|
||||
{
|
||||
// tDebug() << Q_FUNC_INFO;
|
||||
s_peersByCacheKey.remove( s_peersByCacheKey.key( weakRef() ) );
|
||||
delete m_avatar;
|
||||
delete m_fancyAvatar;
|
||||
}
|
||||
|
Reference in New Issue
Block a user