Merge pull request #336 from dpaulat/hotfix/placefile-record-destruction

Disable placefile refresh on destruction
This commit is contained in:
Dan Paulat 2025-01-06 18:54:14 -06:00 committed by GitHub
commit 99ec41c7c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();