mirror of
https://github.com/monero-project/monero.git
synced 2025-01-28 18:56:31 +02:00
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:
parent
efd262a621
commit
e43ff8fa29
@ -290,7 +290,7 @@ namespace epee
|
||||
|
||||
private:
|
||||
async_stdin_reader m_stdin_reader;
|
||||
bool m_running = true;
|
||||
std::atomic<bool> m_running = {true};
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user