mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:10:04 +00:00
Fixing placefile manager destructor timing
This commit is contained in:
parent
ddad68253a
commit
a20e053d1b
1 changed files with 4 additions and 0 deletions
|
|
@ -94,6 +94,10 @@ public:
|
||||||
std::unique_lock refreshLock(refreshMutex_);
|
std::unique_lock refreshLock(refreshMutex_);
|
||||||
std::unique_lock timerLock(timerMutex_);
|
std::unique_lock timerLock(timerMutex_);
|
||||||
refreshTimer_.cancel();
|
refreshTimer_.cancel();
|
||||||
|
timerLock.unlock();
|
||||||
|
refreshLock.unlock();
|
||||||
|
|
||||||
|
threadPool_.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool refresh_enabled() const;
|
bool refresh_enabled() const;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue