Export the packet manager runtime API for easier testing

This commit is contained in:
luwenpeng
2024-10-09 16:26:42 +08:00
parent c5d7208c11
commit 2e35a79528
10 changed files with 272 additions and 205 deletions

View File

@@ -305,6 +305,7 @@ void session_manager_free(struct session_manager *sess_mgr)
clean_session(sess_mgr_rt, UINT64_MAX);
}
SESSION_MANAGER_LOG_INFO("runtime: %p, idx: %d, will be cleaned", sess_mgr_rt, i);
session_manager_runtime_print_stat(sess_mgr_rt);
session_manager_runtime_free(sess_mgr->runtime[i]);
}