X11: Fix libXext not unloaded at termination

This commit is contained in:
Camilla Löwy
2026-02-05 22:29:50 +01:00
parent a98badf088
commit a3095e1aa5
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -1622,6 +1622,12 @@ void _glfwTerminateX11(void)
_glfw.x11.xrender.handle = NULL;
}
if (_glfw.x11.xshape.handle)
{
_glfwPlatformFreeModule(_glfw.x11.xshape.handle);
_glfw.x11.xshape.handle = NULL;
}
if (_glfw.x11.vidmode.handle)
{
_glfwPlatformFreeModule(_glfw.x11.vidmode.handle);