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() {
|
void ConfigManager::disableAutoSave() {
|
||||||
if (autoSaveEnabled) {
|
if (autoSaveEnabled) {
|
||||||
{
|
{
|
||||||
std::unique_lock<std::mutex> lock(termMtx);
|
std::lock_guard<std::mutex> lock(termMtx);
|
||||||
autoSaveEnabled = false;
|
autoSaveEnabled = false;
|
||||||
termFlag = true;
|
termFlag = true;
|
||||||
termCond.notify_one();
|
termCond.notify_one();
|
||||||
|
|
Ładowanie…
Reference in New Issue