diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-29 17:33:26 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-29 17:33:26 +0100 |
| commit | ab11bd20851c5bb99f0e164ee5b0ebe3888628c0 (patch) | |
| tree | 201b9d0d8e20455accbb8cf678c26f0ad633d069 /src/helpers/Watchdog.cpp | |
| parent | 27cd7ef0c94f3dc2d2038520da8d95063ae7f2a9 (diff) | |
watchdog: remove thread on destroy
Diffstat (limited to 'src/helpers/Watchdog.cpp')
| -rw-r--r-- | src/helpers/Watchdog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/helpers/Watchdog.cpp b/src/helpers/Watchdog.cpp index 92f20dfb..f5d85df7 100644 --- a/src/helpers/Watchdog.cpp +++ b/src/helpers/Watchdog.cpp @@ -2,6 +2,10 @@ #include <signal.h> #include "config/ConfigManager.hpp" +CWatchdog::~CWatchdog() { + m_pWatchdog.reset(); +} + CWatchdog::CWatchdog() { m_iMainThreadPID = pthread_self(); |
