Wayland: Fix libwayland-client not unloaded

This commit is contained in:
Camilla Löwy
2026-02-05 22:30:20 +01:00
parent a3095e1aa5
commit b579ea6792
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -1014,6 +1014,12 @@ void _glfwTerminateWayland(void)
_glfw.wl.cursor.handle = NULL;
}
if (_glfw.wl.client.handle)
{
_glfwPlatformFreeModule(_glfw.wl.client.handle);
_glfw.wl.client.handle = NULL;
}
_glfw_free(_glfw.wl.clipboardString);
}