From 4c74a240595f8d27fa9b4083854c6adfa6c56489 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 19 Apr 2021 16:21:20 +0200 Subject: [PATCH] Do not schedule further repaints when terminating We'd hit a deleted options singleton and in any case it's not something we need. --- src/renderloop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderloop.cpp b/src/renderloop.cpp index 053c19c9f9..68eb5d9925 100644 --- a/src/renderloop.cpp +++ b/src/renderloop.cpp @@ -32,7 +32,7 @@ RenderLoopPrivate::RenderLoopPrivate(RenderLoop *q) void RenderLoopPrivate::scheduleRepaint() { - if (compositeTimer.isActive()) { + if (compositeTimer.isActive() || kwinApp()->isTerminating()) { return; }