Do not schedule further repaints when terminating
We'd hit a deleted options singleton and in any case it's not something we need.
This commit is contained in:
parent
7a9676dc0a
commit
4c74a24059
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ RenderLoopPrivate::RenderLoopPrivate(RenderLoop *q)
|
|||
|
||||
void RenderLoopPrivate::scheduleRepaint()
|
||||
{
|
||||
if (compositeTimer.isActive()) {
|
||||
if (compositeTimer.isActive() || kwinApp()->isTerminating()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue