This commit is contained in:
cxh 2025-10-14 17:31:34 +08:00
parent 2c2441f2e1
commit 448ea73af9

View File

@ -111,8 +111,6 @@ int main()
// 如果有线程仍未退出,则强制终止 // 如果有线程仍未退出,则强制终止
bool any_failed = false; bool any_failed = false;
if (ENABLE_RTSP_THREAD && rtsp_thread.joinable() && !rtsp_thread_exited.load(std::memory_order_relaxed))
any_failed = true;
if (ENABLE_MQTT_THREAD && mqtt_thread.joinable() && !mqtt_thread_exited.load(std::memory_order_relaxed)) if (ENABLE_MQTT_THREAD && mqtt_thread.joinable() && !mqtt_thread_exited.load(std::memory_order_relaxed))
any_failed = true; any_failed = true;