mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:40:05 +00:00
Merge pull request #336 from dpaulat/hotfix/placefile-record-destruction
Disable placefile refresh on destruction
This commit is contained in:
commit
99ec41c7c7
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ public:
|
||||||
{
|
{
|
||||||
std::unique_lock refreshLock(refreshMutex_);
|
std::unique_lock refreshLock(refreshMutex_);
|
||||||
std::unique_lock timerLock(timerMutex_);
|
std::unique_lock timerLock(timerMutex_);
|
||||||
|
enabled_ = false;
|
||||||
refreshTimer_.cancel();
|
refreshTimer_.cancel();
|
||||||
timerLock.unlock();
|
timerLock.unlock();
|
||||||
refreshLock.unlock();
|
refreshLock.unlock();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue