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:
parent
bbedb065e1
commit
41358c6fb5
2 changed files with 5 additions and 16 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue