Commit 4c74a240 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Do not schedule further repaints when terminating

We'd hit a deleted options singleton and in any case it's not something
we need.
parent 7a9676dc
......@@ -32,7 +32,7 @@ RenderLoopPrivate::RenderLoopPrivate(RenderLoop *q)
void RenderLoopPrivate::scheduleRepaint()
{
if (compositeTimer.isActive()) {
if (compositeTimer.isActive() || kwinApp()->isTerminating()) {
return;
}
......
Supports Markdown
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