diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-29 17:04:20 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-29 17:04:20 +0100 |
| commit | 27cd7ef0c94f3dc2d2038520da8d95063ae7f2a9 (patch) | |
| tree | 6ef096e079f4327b9adc62c1d6d8afeacb1c4ae6 /src/Compositor.cpp | |
| parent | 9cc614d096db4b7c1de6baaa055ca6f741aa4370 (diff) | |
watchdog: initialize after config
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index e114e934..650be373 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -77,8 +77,6 @@ CCompositor::CCompositor() { setRandomSplash(); Debug::log(LOG, "\nCurrent splash: {}\n\n", m_szCurrentSplash); - - g_pWatchdog = std::make_unique<CWatchdog>(); } CCompositor::~CCompositor() { @@ -406,6 +404,7 @@ void CCompositor::initManagers(eManagersInitStage stage) { g_pLayoutManager = std::make_unique<CLayoutManager>(); g_pConfigManager->init(); + g_pWatchdog = std::make_unique<CWatchdog>(); // requires config } break; case STAGE_LATE: { Debug::log(LOG, "Creating the ThreadManager!"); |
