Add shutdown wrapper
This commit is contained in:
1 parent
4526a2edfa
commit
479e117106
2 files changed
+4
-1
No files matched your search
@@ -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)
|
||||
|
||||
@@ -129,6 +129,7 @@ SyncLogic::SyncLogic (const Name& syncPrefix,
|
||||
SyncLogic::~SyncLogic ()
|
||||
{
|
||||
m_handler->clearInterestFilter (Name(m_syncPrefix));
|
||||
m_handler->shutdown();
|
||||
}
|
||||
|
||||
#ifdef NS3_MODULE
|
||||
|
||||
Reference in new issue
Block a user