More clang-tidy fixes

This commit is contained in:
Dan Paulat 2025-05-05 21:50:01 -05:00
parent 86926178df
commit dc074b0262
2 changed files with 17 additions and 10 deletions

View file

@ -88,8 +88,15 @@ AlertProxyModel::Impl::Impl(AlertProxyModel* self) :
AlertProxyModel::Impl::~Impl()
{
std::unique_lock lock(alertMutex_);
alertUpdateTimer_.cancel();
try
{
std::unique_lock lock(alertMutex_);
alertUpdateTimer_.cancel();
}
catch (const std::exception& ex)
{
logger_->error(ex.what());
}
}
void AlertProxyModel::Impl::UpdateAlerts()