mirror of
https://github.com/glfw/glfw.git
synced 2026-02-17 21:12:34 +01:00
Wayland: Fix libwayland-client not unloaded
This commit is contained in:
@@ -149,6 +149,7 @@ information on what to include when reporting a bug.
|
|||||||
- [Wayland] Bugfix: Confining or disabling the cursor could segfault on
|
- [Wayland] Bugfix: Confining or disabling the cursor could segfault on
|
||||||
compositors without `pointer-constraints-unstable-v1`
|
compositors without `pointer-constraints-unstable-v1`
|
||||||
- [Wayland] Bugfix: Key repeat did not function on very old compositors
|
- [Wayland] Bugfix: Key repeat did not function on very old compositors
|
||||||
|
- [Wayland] Bugfix: The `libwayland-client` library was not unloaded at termination
|
||||||
- [X11] Bugfix: Running without a WM could trigger an assert (#2593,#2601,#2631)
|
- [X11] Bugfix: Running without a WM could trigger an assert (#2593,#2601,#2631)
|
||||||
- [X11] Bugfix: Occasional crash when an idle display awakes (#2766)
|
- [X11] Bugfix: Occasional crash when an idle display awakes (#2766)
|
||||||
- [X11] Bugfix: Prevent BadWindow when creating small windows with a content scale
|
- [X11] Bugfix: Prevent BadWindow when creating small windows with a content scale
|
||||||
|
|||||||
@@ -1014,6 +1014,12 @@ void _glfwTerminateWayland(void)
|
|||||||
_glfw.wl.cursor.handle = NULL;
|
_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);
|
_glfw_free(_glfw.wl.clipboardString);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user