Fix unsynchronized shared memory access

I had issues with the daemon hanging after the exit command, and this
seems like the culprit.
This commit is contained in:
Zachary Michaels 2014-06-17 09:18:58 -04:00
parent efd262a621
commit e43ff8fa29

View File

@ -290,7 +290,7 @@ namespace epee
private: private:
async_stdin_reader m_stdin_reader; async_stdin_reader m_stdin_reader;
bool m_running = true; std::atomic<bool> m_running = {true};
}; };