Wayland: Close forgotten timerfd on terminate.

This commit is contained in:
Emmanuel Gil Peyrot 2018-09-08 19:38:51 +02:00 committed by linkmauve
parent eeac43c3f7
commit 685f2a5f91

View File

@ -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)