From f52859126bcc3fd8c6f3026bc2209f2678a06c5d Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 2 Oct 2018 13:07:26 -0700 Subject: [PATCH] Qt: End painter thread when destroying GL display --- src/platform/qt/DisplayGL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/qt/DisplayGL.cpp b/src/platform/qt/DisplayGL.cpp index 28b191831..223829432 100644 --- a/src/platform/qt/DisplayGL.cpp +++ b/src/platform/qt/DisplayGL.cpp @@ -40,6 +40,7 @@ DisplayGL::DisplayGL(const QGLFormat& format, QWidget* parent) } DisplayGL::~DisplayGL() { + stopDrawing(); delete m_painter; }