diff options
| author | Stanisław Zagórowski <hasohasacz@gmail.com> | 2023-03-01 00:11:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-28 23:11:49 +0000 |
| commit | 5c93f6947a04163c6ea8299e8721b923bea2fb9f (patch) | |
| tree | 487bd6701c7539d0170b12217b7842c69c700af8 /src/Compositor.cpp | |
| parent | 07b98952bc09f61d85895c49504b681de8687975 (diff) | |
Unload plugins on compositor cleanup (#1662)
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 18bdaaab..26565b18 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -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; |
