Commit 8cf5041e authored by David Edmundson's avatar David Edmundson

[libkwineffects] Cleanup effects handler global pointer on destruction

Test Plan:
Won't make a practical difference, anything that used before
would have crashed. Only now it's tidier.

Unit tests still pass

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15171
parent 7e7eadb4
......@@ -749,6 +749,7 @@ EffectsHandler::~EffectsHandler()
{
// All effects should already be unloaded by Impl dtor
assert(loaded_effects.count() == 0);
KWin::effects = nullptr;
}
CompositingType EffectsHandler::compositingType() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment