diff --git a/appsrc/service/dm_gas_path_mgr_service.cpp b/appsrc/service/dm_gas_path_mgr_service.cpp index aeb284e..225ff01 100644 --- a/appsrc/service/dm_gas_path_mgr_service.cpp +++ b/appsrc/service/dm_gas_path_mgr_service.cpp @@ -51,6 +51,8 @@ void DMGasPathMgrService::setOnlineState(shared_ptr cxt, bool std::lock_guard lock(lock_); logger->info("setOnlineState:{}", isOnline); this->isOnline = isOnline; + stateUpdateThread->wake(); + } void DMGasPathMgrService::selectChannel(shared_ptr cxt, DMGasPath dmGasPath) {