mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-08 08:01:57 -07:00
Unload plugins on compositor cleanup (#1662)
This commit is contained in:
committed by
GitHub
parent
07b98952bc
commit
5c93f6947a
@@ -285,6 +285,10 @@ void CCompositor::cleanup() {
|
||||
|
||||
m_bIsShuttingDown = true;
|
||||
|
||||
// unload all remaining plugins while the compositor is
|
||||
// still in a normal working state.
|
||||
g_pPluginSystem->unloadAllPlugins();
|
||||
|
||||
m_pLastFocus = nullptr;
|
||||
m_pLastWindow = nullptr;
|
||||
|
||||
|
Reference in New Issue
Block a user