Add shutdown wrapper

This commit is contained in:
Yingdi Yu committed 2013-11-06 16:36:19 -08:00
1 parent 4526a2edfa
commit 479e117106
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -46,7 +46,9 @@ SyncSocket::SyncSocket (const string &syncPrefix,
}
SyncSocket::~SyncSocket()
{}
{
m_handler->shutdown();
}
bool
SyncSocket::publishData(const std::string &prefix, uint32_t session, const char *buf, size_t len, int freshness)
+1
View File
@@ -129,6 +129,7 @@ SyncLogic::SyncLogic (const Name& syncPrefix,
SyncLogic::~SyncLogic ()
{
m_handler->clearInterestFilter (Name(m_syncPrefix));
m_handler->shutdown();
}
#ifdef NS3_MODULE