mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
MemoryWatcher: Initialize m_running to false to prevent crashes on OSX in the dtor when it picks up the wrong initial value
This commit is contained in:
parent
e8e0ad3e52
commit
a60b24c937
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ private:
|
|||
void WatcherThread();
|
||||
|
||||
std::thread m_watcher_thread;
|
||||
std::atomic_bool m_running;
|
||||
std::atomic_bool m_running{false};
|
||||
|
||||
int m_fd;
|
||||
sockaddr_un m_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue