watchdog: don't hang on exit
This commit is contained in:
parent
e07e64458e
commit
4daa515700
2 changed files with 8 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ class CWatchdog {
|
|||
|
||||
std::unique_ptr<std::thread> m_pWatchdog;
|
||||
std::mutex m_mWatchdogMutex;
|
||||
bool m_bNotified = false;
|
||||
bool m_bNotified = false;
|
||||
bool m_bExitThread = false;
|
||||
std::condition_variable m_cvWatchdogCondition;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue