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:
parent
dbe8f7f499
commit
b6449fcd63
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user