mirror of
https://github.com/glfw/glfw
synced 2026-09-26 16:18:21 +03:00
Wayland: Fix libwayland-client not unloaded
This commit is contained in:
parent
a3095e1aa5
commit
b579ea6792
2 changed files with 7 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ information on what to include when reporting a bug.
|
|||
- [Wayland] Bugfix: Confining or disabling the cursor could segfault on
|
||||
compositors without `pointer-constraints-unstable-v1`
|
||||
- [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: Occasional crash when an idle display awakes (#2766)
|
||||
- [X11] Bugfix: Prevent BadWindow when creating small windows with a content scale
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue