Skip to content

Fix crash in eglTerminate()

Vlad Zahorodnii requested to merge work/fix-egl-terminate-crash into master

At the moment, the gbm_device for the primary device is destroyed before the EGLDisplay is destroyed. This results in a crash in Mesa.

In order to fix the crash, this change ensures that the EGLDisplay is destroyed before the gbm device.

Edited by Vlad Zahorodnii

Merge request reports