commit | 479e117106a0a992a348aadf91cd7184fb80aa0f | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Wed Nov 06 16:36:19 2013 -0800 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Wed Nov 06 16:36:19 2013 -0800 |
tree | 23cca27e762ca688dfbc3d5821f11cbccea2e21c | |
parent | 4526a2edfa7b73401450d0f1da79fc752064e140 [diff] [blame] |
Add shutdown wrapper
diff --git a/src/ccnx/sync-socket.cc b/src/ccnx/sync-socket.cc index 3ef1c96..f70f6ba 100644 --- a/src/ccnx/sync-socket.cc +++ b/src/ccnx/sync-socket.cc
@@ -46,7 +46,9 @@ } SyncSocket::~SyncSocket() -{} +{ + m_handler->shutdown(); +} bool SyncSocket::publishData(const std::string &prefix, uint32_t session, const char *buf, size_t len, int freshness)