[PATCH libX11] _XDefaultError: set XlibDisplayIOError flag before calling exit
Julien Cristau
jcristau at debian.org
Thu Feb 2 08:05:03 UTC 2017
On Wed, Feb 1, 2017 at 15:02:41 +0100, arthur.huillet at free.fr wrote:
> It is legal for an application to make Xlib calls during _fini, and that is useful for an OpenGL driver to avoid resource leaks on the X server side, for example in the dlopen/dlclose case. However, the driver can not readily tell whether its _fini is being called because Xlib called exit, or for another reason (dlclose), so it is hard to cleanly work around this issue in the driver.
>
I don't get the resource leaks justification. Can't the X server clean
up when the client goes away?
Cheers,
Julien
More information about the xorg-devel
mailing list