mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 12:47:40 +01:00
Another fix for the weird no exit thing
This commit is contained in:
parent
77dada07da
commit
eb8cd09e65
@ -56,7 +56,7 @@ void ConfigManager::enableAutoSave() {
|
||||
void ConfigManager::disableAutoSave() {
|
||||
if (autoSaveEnabled) {
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(termMtx);
|
||||
std::lock_guard<std::mutex> lock(termMtx);
|
||||
autoSaveEnabled = false;
|
||||
termFlag = true;
|
||||
termCond.notify_one();
|
||||
|
Loading…
Reference in New Issue
Block a user