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...");