mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:10:06 +00:00
Log a debug entry when the radar sweep monitor times out
This commit is contained in:
parent
da267c4c22
commit
9165d66a33
1 changed files with 6 additions and 1 deletions
|
|
@ -281,7 +281,12 @@ void TimelineManager::Impl::RadarSweepMonitorReset()
|
|||
void TimelineManager::Impl::RadarSweepMonitorWait(
|
||||
std::unique_lock<std::mutex>& lock)
|
||||
{
|
||||
std::cv_status status =
|
||||
radarSweepMonitorCondition_.wait_for(lock, kRadarSweepMonitorTimeout_);
|
||||
if (status == std::cv_status::timeout)
|
||||
{
|
||||
logger_->debug("Radar sweep monitor timed out");
|
||||
}
|
||||
radarSweepMonitorActive_ = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue