Fixed delay before exiting

This commit is contained in:
Ryzerth
2021-04-21 18:36:45 +02:00
parent 4849d9cf09
commit 38c9e2c894
2 changed files with 14 additions and 1 deletions

View File

@ -29,4 +29,8 @@ private:
std::thread autoSaveThread;
std::mutex mtx;
std::mutex termMtx;
std::condition_variable termCond;
bool termFlag = false;
};