Skip to content

GLX: Remove the XESetCloseDisplay callback during teardown.

This fixes a crash that can happen if libGLX.so is loaded dynamically, and then unloaded while an X display is still connected.

In that case, the callback that libGLX registered with XESetCloseDisplay is still registered, and XCloseDisplay will try to call a dangling function pointer and crash.

Merge request reports

Loading