logic: Don't shutdown face when destructing Logic instance

refs: #4525

Change-Id: I3a50b818c6553d08fc807869107e53f55775c43d
diff --git a/src/logic.hpp b/src/logic.hpp
index a2fec3b..3e88794 100644
--- a/src/logic.hpp
+++ b/src/logic.hpp
@@ -468,6 +468,9 @@
   //                            const State& commit,
   //                            ConstBufferPtr previousRoot);
 
+  void
+  cleanupPendingInterest(const ndn::PendingInterestId* pendingInterestId);
+
 public:
   static const ndn::Name DEFAULT_NAME;
   static const ndn::Name EMPTY_NAME;
@@ -494,6 +497,7 @@
   InterestTable m_interestTable;
   Name m_outstandingInterestName;
   const ndn::PendingInterestId* m_outstandingInterestId;
+  std::vector<const ndn::PendingInterestId*> m_pendingInterests;
   bool m_isInReset;
   bool m_needPeriodReset;