mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
Wayland: Close forgotten timerfd on terminate.
This commit is contained in:
parent
eeac43c3f7
commit
685f2a5f91
@ -1142,6 +1142,9 @@ void _glfwPlatformTerminate(void)
|
||||
wl_display_flush(_glfw.wl.display);
|
||||
wl_display_disconnect(_glfw.wl.display);
|
||||
}
|
||||
|
||||
if (_glfw.wl.timerfd >= 0)
|
||||
close(_glfw.wl.timerfd);
|
||||
}
|
||||
|
||||
const char* _glfwPlatformGetVersionString(void)
|
||||
|
Loading…
Reference in New Issue
Block a user