mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-30 13:24:19 +00:00
Ensure wl_cursor_theme_destroy is called before it is released
Fix #2884
This commit is contained in:
parent
67f60847ee
commit
35f821f6a1
1 changed files with 1 additions and 1 deletions
2
glfw/wl_init.c
vendored
2
glfw/wl_init.c
vendored
|
|
@ -792,6 +792,7 @@ int _glfwPlatformInit(void)
|
|||
|
||||
void _glfwPlatformTerminate(void)
|
||||
{
|
||||
glfw_wlc_destroy();
|
||||
_glfwTerminateEGL();
|
||||
if (_glfw.wl.egl.handle)
|
||||
{
|
||||
|
|
@ -810,7 +811,6 @@ void _glfwPlatformTerminate(void)
|
|||
|
||||
if (_glfw.wl.cursorSurface)
|
||||
wl_surface_destroy(_glfw.wl.cursorSurface);
|
||||
glfw_wlc_destroy();
|
||||
if (_glfw.wl.subcompositor)
|
||||
wl_subcompositor_destroy(_glfw.wl.subcompositor);
|
||||
if (_glfw.wl.compositor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue