From f1ec176d106a7b12926600c9dfa952c840dfe0d0 Mon Sep 17 00:00:00 2001 From: cxh Date: Fri, 14 Nov 2025 14:44:13 +0800 Subject: [PATCH] 1 --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 8c7206d..98a1af5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -73,8 +73,8 @@ int main() // LOG_INFO("[MAIN] MQTT thread exiting..."); // }); - // // 主循环,仅等待退出信号 - // while (g_running.load(std::memory_order_relaxed)) std::this_thread::sleep_for(std::chrono::milliseconds(200)); + // 主循环,仅等待退出信号 + while (g_running.load(std::memory_order_relaxed)) std::this_thread::sleep_for(std::chrono::milliseconds(200)); // // ---------- 退出清理 ---------- // LOG_INFO("[MAIN] Shutdown requested. Stopping RTMP streams...");