Skip to content

Commit f3aa441

Browse files
committed
++ ctt controller
1 parent aa1c021 commit f3aa441

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

storage/cttController.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ std::vector<std::byte> CttController::assemble_state(
100100
return state;
101101
}
102102

103+
CttController::~CttController() noexcept
104+
{
105+
m_commander.reset();
106+
}
107+
103108
} // ipxp
104109

105110
#endif /* WITH_CTT */

storage/cttController.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class CttController {
7373
*/
7474
void export_record(uint64_t flow_hash_ctt);
7575

76+
~CttController() noexcept;
77+
7678
private:
7779
std::unique_ptr<ctt::AsyncCommander> m_commander;
7880
size_t key_size_bytes;

0 commit comments

Comments
 (0)