diff --git a/plugins/platforms/x11/standalone/x11_platform.cpp b/plugins/platforms/x11/standalone/x11_platform.cpp --- a/plugins/platforms/x11/standalone/x11_platform.cpp +++ b/plugins/platforms/x11/standalone/x11_platform.cpp @@ -87,7 +87,9 @@ m_openGLFreezeProtectionThread->wait(); delete m_openGLFreezeProtectionThread; } - XRenderUtils::cleanup(); + if (isReady()) { + XRenderUtils::cleanup(); + } } void X11StandalonePlatform::init()