diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-04-09 01:48:21 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-04-09 01:48:21 +0100 |
| commit | 4f991610d03609e4cfe06b4a1be694ce439b779b (patch) | |
| tree | ebd75cf9eb4000ee775c8c9b08b110836918a4cd /src/Compositor.cpp | |
| parent | ea852965ffd4bf2bd2a74c0e821ba6190021eb31 (diff) | |
watchdog: remove watchdog
it has been unused for a while now
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 947b6549..8e520237 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -59,7 +59,6 @@ #include "managers/ProtocolManager.hpp" #include "managers/LayoutManager.hpp" #include "plugins/PluginSystem.hpp" -#include "helpers/Watchdog.hpp" #include "hyprerror/HyprError.hpp" #include "debug/HyprNotificationOverlay.hpp" #include "debug/HyprDebugOverlay.hpp" @@ -588,7 +587,6 @@ void CCompositor::cleanup() { g_pConfigManager.reset(); g_pKeybindManager.reset(); g_pHookSystem.reset(); - g_pWatchdog.reset(); g_pXWaylandManager.reset(); g_pPointerManager.reset(); g_pSeatManager.reset(); @@ -642,11 +640,6 @@ void CCompositor::initManagers(eManagersInitStage stage) { g_pTokenManager = makeUnique<CTokenManager>(); g_pConfigManager->init(); - g_pWatchdog = makeUnique<CWatchdog>(); // requires config - // wait for watchdog to initialize to not hit data races in reading config values. - while (!g_pWatchdog->m_bWatchdogInitialized) { - std::this_thread::yield(); - } Debug::log(LOG, "Creating the PointerManager!"); g_pPointerManager = makeUnique<CPointerManager>(); |
