Unload plugins on compositor cleanup (#1662)

This commit is contained in:
Stanisław Zagórowski
2023-03-01 00:11:49 +01:00
committed by GitHub
parent 07b98952bc
commit 5c93f6947a
3 changed files with 13 additions and 2 deletions

View File

@@ -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;