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
|
@ -36,7 +36,7 @@ private:
|
||||||
void WatcherThread();
|
void WatcherThread();
|
||||||
|
|
||||||
std::thread m_watcher_thread;
|
std::thread m_watcher_thread;
|
||||||
std::atomic_bool m_running;
|
std::atomic_bool m_running{false};
|
||||||
|
|
||||||
int m_fd;
|
int m_fd;
|
||||||
sockaddr_un m_addr;
|
sockaddr_un m_addr;
|
||||||
|
|
Loading…
Reference in New Issue