diff --git a/src/platform/qt/DisplayGL.cpp b/src/platform/qt/DisplayGL.cpp index 71398e6af..12da1bdb1 100644 --- a/src/platform/qt/DisplayGL.cpp +++ b/src/platform/qt/DisplayGL.cpp @@ -404,6 +404,10 @@ void PainterGL::stop() { dequeueAll(); m_backend->clear(m_backend); m_backend->swap(m_backend); + if (m_swapTimer.isActive()) { + swap(); + m_swapTimer.stop(); + } if (m_videoProxy) { m_videoProxy->reset(); }