From 27cd7ef0c94f3dc2d2038520da8d95063ae7f2a9 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 29 Sep 2023 17:04:20 +0100 Subject: [PATCH] watchdog: initialize after config --- src/Compositor.cpp | 3 +-- 1 file changed, 1 insertion(+), 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(); } CCompositor::~CCompositor() { @@ -406,6 +404,7 @@ void CCompositor::initManagers(eManagersInitStage stage) { g_pLayoutManager = std::make_unique(); g_pConfigManager->init(); + g_pWatchdog = std::make_unique(); // requires config } break; case STAGE_LATE: { Debug::log(LOG, "Creating the ThreadManager!");