Skip to content

Remove the remaining calls to the vendor library from __eglFini and __glXFini.

Created by: kbrenneman

Remove the remaining calls to the vendor library from __eglFini and __glXFini.

This removes the call to __glDispatchCheckMultithreaded from __eglFini, so that it doesn't risk calling a vendor library's threadAttach callback after the vendor library is unloaded. GLX had the same fix, but it never got applied to EGL.

I also removed the call to the vendor's releasePatch callback when libGLdispatch is unpatching the entrypoints from __eglFini or __glXFini.

Merge request reports