mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:00:06 +00:00
More clang-tidy fixes
This commit is contained in:
parent
86926178df
commit
dc074b0262
2 changed files with 17 additions and 10 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue