mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
Cleanup compositor deadcode (#2657)
* Remove dead code as it is a part of CCompositor::cleanup * Unify sd_notify logic with Compositor lifetime
This commit is contained in:
@@ -310,6 +310,11 @@ void CCompositor::cleanup() {
|
||||
|
||||
m_bIsShuttingDown = true;
|
||||
|
||||
#ifdef USES_SYSTEMD
|
||||
if (sd_booted() > 0)
|
||||
sd_notify(0, "STOPPING=1");
|
||||
#endif
|
||||
|
||||
// unload all remaining plugins while the compositor is
|
||||
// still in a normal working state.
|
||||
g_pPluginSystem->unloadAllPlugins();
|
||||
|
Reference in New Issue
Block a user