commit | 9d5679a6b0ec88ef5e55c48fa40273de6b706e20 | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Sun Feb 01 00:17:58 2015 -0800 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Sun Feb 01 23:08:34 2015 -0800 |
tree | d0e8bc3eee1aa4b22af0b0c2af979573e3b7da88 | |
parent | 53f5f041e8861c43f4db52c8da68097d8eba1a4f [diff] [blame] |
src: destruct logic and socket properly Change-Id: Iedd14dcd7cb9567d549513e6fee3a18dd45f1d83
diff --git a/src/logic.cpp b/src/logic.cpp index 48d6cfb..25f2abb 100644 --- a/src/logic.cpp +++ b/src/logic.cpp
@@ -116,8 +116,9 @@ Logic::~Logic() { - m_face.unsetInterestFilter(m_syncRegisteredPrefixId); m_scheduler.cancelAllEvents(); + m_interestTable.clear(); + m_face.shutdown(); } void