mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 08:29:26 -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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p3LinkMgrIMPL::~p3LinkMgrIMPL()
|
||||||
|
{
|
||||||
|
delete(mDNSResolver);
|
||||||
|
}
|
||||||
|
|
||||||
bool p3LinkMgrIMPL::setLocalAddress(const struct sockaddr_storage &addr)
|
bool p3LinkMgrIMPL::setLocalAddress(const struct sockaddr_storage &addr)
|
||||||
{
|
{
|
||||||
RsStackMutex stack(mLinkMtx); /****** STACK LOCK MUTEX *******/
|
RsStackMutex stack(mLinkMtx); /****** STACK LOCK MUTEX *******/
|
||||||
|
@ -258,6 +258,7 @@ virtual bool getFriendNetStatus(const RsPeerId &id, peerConnectState &state); //
|
|||||||
/************************************************************************************************/
|
/************************************************************************************************/
|
||||||
|
|
||||||
p3LinkMgrIMPL(p3PeerMgrIMPL *peerMgr, p3NetMgrIMPL *netMgr);
|
p3LinkMgrIMPL(p3PeerMgrIMPL *peerMgr, p3NetMgrIMPL *netMgr);
|
||||||
|
virtual ~p3LinkMgrIMPL();
|
||||||
|
|
||||||
void tick();
|
void tick();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user