diff --git a/src/wl_init.c b/src/wl_init.c index c19184d0..820a9142 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -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)