From d7887e385fa432c5ef6746a74e5a42406119425b Mon Sep 17 00:00:00 2001 From: cxh Date: Wed, 10 Sep 2025 12:52:38 +0800 Subject: [PATCH] first commit --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 401e0ec..48c44b9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -57,10 +57,10 @@ int main() RTSPManager::start(g_app_config.cameras); rtsp_thread_exited.store(true, std::memory_order_relaxed); }); - std::thread mqtt_thread([&]() - { - mqtt_client_thread_func(); - mqtt_thread_exited.store(true, std::memory_order_relaxed); }); + // std::thread mqtt_thread([&]() + // { + // mqtt_client_thread_func(); + // mqtt_thread_exited.store(true, std::memory_order_relaxed); }); // 等待退出信号 while (g_running.load(std::memory_order_relaxed))