kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Another fix for the weird no exit thing
rodzic
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();
|
||||
|
|
Ładowanie…
Reference in New Issue