mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 16:09:35 -05:00
Added destructor to p3LinkMgrIMPL.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8528 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a0c0b9afa5
commit
4d364042ad
@ -162,6 +162,11 @@ p3LinkMgrIMPL::p3LinkMgrIMPL(p3PeerMgrIMPL *peerMgr, p3NetMgrIMPL *netMgr)
|
||||
return;
|
||||
}
|
||||
|
||||
p3LinkMgrIMPL::~p3LinkMgrIMPL()
|
||||
{
|
||||
delete(mDNSResolver);
|
||||
}
|
||||
|
||||
bool p3LinkMgrIMPL::setLocalAddress(const struct sockaddr_storage &addr)
|
||||
{
|
||||
RsStackMutex stack(mLinkMtx); /****** STACK LOCK MUTEX *******/
|
||||
|
@ -258,6 +258,7 @@ virtual bool getFriendNetStatus(const RsPeerId &id, peerConnectState &state); //
|
||||
/************************************************************************************************/
|
||||
|
||||
p3LinkMgrIMPL(p3PeerMgrIMPL *peerMgr, p3NetMgrIMPL *netMgr);
|
||||
virtual ~p3LinkMgrIMPL();
|
||||
|
||||
void tick();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user